GithubHelp home page GithubHelp logo

mathdevelop / instamath Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 14 KB

Have your Instagram images on your website, simply and quickly.

Home Page: https://instamath.netlify.app/

HTML 50.19% JavaScript 49.81%
javascript instagram instagram-api

instamath's Introduction

Instamath

Have your Instagram images on your website, simply and quickly. *Leia em Português

All Plugins that used the Instagram API suffered from constant token exchange to keep them running, but now with the basic API deactivation at the end of March/2020, they will stop working completely. The output found for some sites was to add third-party widgets that scan the profile page looking for the images without the need for the API, these often have paid resources to work in their full form.

Instamath was developed with the intention of being a free solution to obtain the photos directly without having any intermediate server, offering freedom for customization and speed in the execution.

Usage

Instamath does not depend on any library for its operation.

<div id="instamath"></div>

<script src="https://cdn.jsdelivr.net/gh/mathdevelop/instamath@latest/instamath.min.js"></script>
<script>
    document.querySelector('#instamath').instamath({
        user: 'mathdevelop', // Required¹
        limit: 5, // Maximum: 12
        resolution: 150, // Resolutions²: 150, 240, 320, 480, 640
        after: function() {
            // Function performed after retrieving account images (Ideal for Carousel Plugins)
        }
    });
</script>

Comments:

  1. The user to be used must be public.
  2. Using a higher resolution and limiting the size by CSS will offer a higher quality, consider the quality gain with the weight of the image.

CDN

If you wish, you can use the link below with the most current version or download the file to import into the project.

https://cdn.jsdelivr.net/gh/mathdevelop/instamath@latest/instamath.min.js

Demo

Instamath with Slick

instamath's People

Contributors

mathdevelop avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.