GithubHelp home page GithubHelp logo

callAPI about instar HOT 5 CLOSED

pablobarbera avatar pablobarbera commented on September 25, 2024
callAPI

from instar.

Comments (5)

chainsawriot avatar chainsawriot commented on September 25, 2024 1

https://www.instagram.com/developer/authorization/

An unapproved app (i.e. only with 'basic' scope authorized) can only get:

  • /users/self
  • /users/self/media/recent
  • /media/{media-id} (if you are owner)
  • /media/shortcode/{short-code} (if you are owner)
  • /media/{media-id}}/comments (if you are owner)
  • /media/{media-id}/likes (if you are owner)

from instar.

pablobarbera avatar pablobarbera commented on September 25, 2024

@Matt-McNeill see the note I just added to the README. Instagram changed their API and it appears most endpoints now require getting your app approved by Instagram. I'm still trying to figure out what is still available, but my guess is that this error message is related to this problem.

from instar.

Matt-McNeill avatar Matt-McNeill commented on September 25, 2024

Thanks.

On Dec 3, 2015, at 2:58 PM, Pablo Barberá [email protected] wrote:

@Matt-McNeill see the note I just added to the README. Instagram changed their API and it appears most endpoints now require getting your app approved by Instagram. I'm still trying to figure out what is still available, but my guess is that this error message is related to this problem.


Reply to this email directly or view it on GitHub.

from instar.

Edilmo avatar Edilmo commented on September 25, 2024

Hi,
After debugging the code a little bit, I found two of the possible causes for this problem (could be more depending in the use case). Both of the causes are related to the changes that instagram made to their policies:

  1. Now you need, at least require scope="public_content" and the default of the library is scope="basic". So, this line r my_oauth <- instaOAuth(app_id="123456789", app_secret="1A2B3C4D", scope="public_content") is enough for the getUserMedia function.
  2. Now your application start running in a SANDBOX where you just have access to the public information of the people that are part of that SANDBOX. So if you want to access posts or general info from another user, it is necessary to edit your instagram application definition in Manage Clients and send invitations to all that users from the SANDBOX section. And after that ask them for permissions to access that data.

from instar.

pablobarbera avatar pablobarbera commented on September 25, 2024

Thanks everybody for contributing here! I have added information messages on all functions and documentation, to hopefully clarify this point!

from instar.

Related Issues (20)

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.