I have followed each and every steps from below here . I am able to get the results as expected.
In Step 4 Authenticate the Test User, it says to open below URL to get the CODE. When I open the URL it redirects me to login page. If I get log in then only I get the CODE from url.
Question is: How do I get the CODE without getting logged in? Because I just want to display some random posts of a user.
https://api.instagram.com/oauth/authorize
?client_id={app-id}
&redirect_uri={redirect-uri}
&scope=user_profile,user_media
&response_type=code
I assume that this is not possible. Depending on the security-setting of the user you have to be part of their community to access the posts. What should be possible is to have a user to login with and that implement some kind of crawler to get the requested data.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.