Unable to access Instagram data from instaR
Opened this issue · 0 comments
Hi,
I am sorry if this question has been asked before but I am new to using the instaR package.
I am new in trying to access Instagram public profile data from R, and I understand that the package instaR can help me access some user information such as number of likes, videos, and comments from Instagram public profiles.
library(instaR) my_oauth <- instaOAuth(app_id="app-id", app_secret="app-secret-id")
However, when I try to use instaR, I get the error on following the message:
Copy and paste into 'OAuth redirect_uri' on Instagram App Settings: http://localhost:1410/
When done, press any key to continue...
And pasting the following link on my browser (Chrome)
https://api.instagram.com/oauth/authorize?client_id=[client-id]&redirect_uri=https%3A%2F%2Fgithub.com%2F[github-id]&scope=user_profile%2Cuser_media%2Cinstagram_graph_user_profile%2Cinstagram_graph_user_media+&response_type=code
I get the following error message on my browser:
Invalid Request: Request parameters are invalid: Invalid scope: instagram_graph_user_profile
I just wonder what could be going wrong?
Are there any changes by Instagram in allowing access to public data?
Would appreciate any help.
Thanks.
Thanks,
V