Comments (5)
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.
@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.
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.
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:
- 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. - 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.
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)
- Error in getUser function
- Verbosity by getFollows() and getFollowers()
- getUserMedia limited to 20 posts HOT 1
- searchInstagram() failure HOT 1
- Error in callApi and get Usser HOT 4
- Error in get_oauth_sig() : OAuth has not been registered for this session HOT 6
- Error in instaOAuth HOT 11
- Sandbox Error or Bug? HOT 9
- http error 400 bad request when trying to get a token HOT 5
- Issue with ReadMe.md HOT 1
- Error in content$data[[1]]$id : $ operator is invalid for atomic vectors HOT 1
- Error in content$data[[1]]$id : $ operator is invalid for atomic vectors
- to get comments
- Cannot find funtion instaOAuth HOT 4
- Error in x[[field]] : subscript out of bounds
- {"error_type": "OAuthException", "code": 400, "error_message": "Redirect URI does not match registered redirect URI"}
- Bad Request (HTTP 400). Failed to get an access token. HOT 3
- getUserMedia is not using the paginations as it should
- Error Crawling Data Twitter With R Studio
- Instagram Legacy API permission ("Basic Permission") was disabled on June 29, 2020 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instar.