简体   繁体   中英

Getting followers and following with Instagram APIs

I am studying to integrate Instagram into my app.But I have some confusion. I found 2 API document: https://www.instagram.com/developer/ and https://developers.facebook.com/docs/instagram-api/ . They have differences about supporting API Endpoints as well as how to use. So, what are they and what should we use the one for my app?

I need to get followers and following of user. But I could not found any APIs support for that functions.

Could you please help, I really need it for my app.

Thanks a lot

As of 1st of June 2016. Now you're only able to get the list of your own followers/followings.

You can read about it here .

This api is used to get own followers/following list :

https://api.instagram.com/v1/users/self/follows?access_token=ACCESS-TOKEN

I was using the documentation found on the Instagram website, which will show you lots of end points but only let you use these two if your app has not been approved. At least that was the case until a few days ago, when accessing those endpoints started throwing off CORS errors.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM