Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Facebook Graph API to read Instagram user

I tried to use Graph API Explorer to read an Instagram user.

Visit https://developers.facebook.com/docs/graph-api/reference/instagram-user/

I ticked every permission to generate the access token. Also, I linked my Instagram account to Facebook account. However, response still showed as 'Unsupported get request'.

graph api explorer output

Anyone can help? Thanks.

like image 840
Xi Wang Avatar asked Aug 13 '16 06:08

Xi Wang


People also ask

What can you do with Instagram graph API?

Instagram Graph API The API can be used to get and publish their media, manage and reply to comments on their media, identify media where they have been @mentioned by other Instagram users, find hashtagged media, and get basic metadata and metrics about other Instagram Businesses and Creators.

How do I get Instagram user data?

Tap or your profile picture in the bottom right to go to your profile. Tap in the top right, then tap Your activity. Tap Download your information. Enter the email address where you'd like to receive a link to your data, then tap Request Download.

Do Facebook and Instagram have the same API?

The Instagram Graph API is a collection of Facebook Graph API endpoints that allow apps to access data in Instagram Professional accounts (both Business and Creator accounts).


1 Answers

Facebook has just released a new version of their graph API (v2.10) that now contains a new Instagram API that has new permissions that should allow you to read an Instagram user.

  • instagram_basic

  • instagram_manage_comments (optional)

  • instagram_manage_insights (optional)

However, these permissions are currently limited to Instagram business users that also have a Facebook business account with an ad account linked to it.

like image 96
Scott Buckstaff Avatar answered Nov 16 '22 02:11

Scott Buckstaff