Reputation: 1232
The Instagram new API policy have become super strict. They are not allowing fetching public content at all. We are literally following all Instagram policies and still cant get approval of public_content.
Is there any workaround or any possibility of fetching the data.
This is the response that I have recieved from instagram
General issues:
Policy Violation (Ad network, Influencer network, Other related): Your app should not attempt to build an ad network on Instagram, nor transfer any data that you receive from us (including anonymous, aggregate, or derived data) to any ad network, data broker, influencer network, or other advertising or monetization-related service. In working to build a high quality platform, we ask that you comply with our Platform Policy (http://wwww.instagram.com/about/legal/terms/api/).
Upvotes: 3
Views: 1373
Reputation: 34234
Yeah, they now grant permissions only to applications with some specific usage cases.
According to Instagram official website, these are:
Note that in order to get public_content
permission, you need to fall under the 2nd or the 3rd use case. Otherwise, consider changing your application / service in such way that is now uses basic
permission and acquires only your users' media.
There is no valid and legal possibility to fetch public data except for successful passing the Instagram permission review.
This official developer documentation page may be useful to you.
Upvotes: 3
Reputation: 3724
You need to enable scopes invividually for your client https://api.instagram.com/oauth/authorize?client_id=CLIENT_ID&redirect_uri=APPCALLBACK&access_token=ACCESSTOKEN&response_type=code&scope=public_content
in your browser, using your values for the uppercase words? This should enable your registered client to work with the public_content scope.
https://api.instagram.com/oauth/authorize?client_id=xxxxx&redirect_uri=xxxxx&access_token=xxxxx&response_type=code&scope=public_content
your comment
Read the error message, did you supply a valid client-id from your instagram developer account. Did you setup a redirect_uri for that client? Do you authenticate to instagram to get an access token?
This worked for me this weekend. Double check the values you set in the url and call it directly in your browser.
Upvotes: 0