Questions tagged [instagram-graph-api]

The Instagram Graph API allows you to programmatically access Instagram Business Accounts so you can more easily manage media objects, view comments and metadata, and get insights and metrics, get hashtag data, mentions and more.

The Instagram Graph API is a standard REST API that supports basic CRUD operations. It works by checking a User's access token for any Facebook Page roles. If the User has a role on a Page, and that Page is connected to an Instagram Business Account, the User can grant your app permission to access the connected business account's data.

Documentation: Instagram Graph API | API Reference

561 questions
3
votes
0 answers

Instagram Graph API Webhooks on behalf of another user

I'm trying to figure out how to use the Instagram Graph API Webhooks on behalf of another user. The documentation is very vague about this, and it seems to me that all I can do is get data from my account account. Is that correct? We have a reviewed…
Joel
  • 8,502
  • 11
  • 66
  • 115
3
votes
2 answers

unable to access media object returned from instagram hashtag search api

I am trying to get the media from instagram hashtag search api, i am getting the response correctly but i am unable to access the media object. it says "Unsupported get request. Object with ID '18001051678085904' does not exist, cannot be…
3
votes
1 answer

Can't fetch all fields from Instagram graph API media node

Some fields work as they should, fields like media_type, id and permalink. But if I try to fetch timestamp, owner or username I get an error message: "error": { "message": "(#100) Please read documentation for supported fields.", "type":…
3
votes
1 answer

What is the difference between various Facebook API Page "instagram" fields

If one queries the Facebook Graph API for a page, there are (at least) four fields one can request relating to Instagram: connected_instagram_account - Instagram account connected to page via page settings instagram_business_account - Instagram…
3
votes
1 answer

Instagram graph api testing phase

i tried to have access to the instagram graph api but when i try to access the /media node of my account via the graph explorer tool i get "message": "(#100) Tried accessing nonexisting field (media) on node type (Page)", Is it mandatory to send…
3
votes
1 answer

Instagram Graph API

My task is to get photo data of my business Instagram account with Instagram Graph API. I followed the instruction from Instagram Graph API - https://developers.facebook.com/docs/instagram-api/reference/user/media , which said request like GET…
anndexi99
  • 189
  • 3
  • 18
2
votes
0 answers

Anyone else having trouble with the User Token Generator for Instagram basic display testers?

I start here Every time I click the 'generate' button I get a little popup that says Error! Not sure how to get around this, or if the problem is even on my end. I tried going into incognito in case cookies were messing things up however that did…
2
votes
0 answers

Instagram 401 unauthorized

Im using the graphql api endpoint to call the endpoint to retrieve a posts information using the function below. async function getInstagramData(url: string) { const postHash = ''; const postAPI =…
Cartion
  • 149
  • 3
  • 12
2
votes
0 answers

Is it possible to get public profiles/posts/stories etc from Instagram Graph API or any other official API?

I have been trying to create an app that monitors X persons activities across all social media platforms but so far have only been able to get my own accounts data using Instagrams Graph API and haven't been able to find a way to, for arguments…
2
votes
0 answers

Instagram API - get like count on media

Good morning, I'm writing my own library to improve skills for getting media from Instagram profile and showing it on my website. I read a lot of articles, documentation, etc. but there are many old versions and endpoints. At the official API…
Kevin Colbert
  • 41
  • 1
  • 3
2
votes
0 answers

Accessing Instagram user data without Instagram Graph API user authentication

Is there any way to query for a public Instagram account's information without having to authenticate them via the Authorization Window? Say I'd like to programmatically obtain any public account's number of follows, number of posts, and number of…
2
votes
0 answers

API Graph Instagram, Insights, get count likes for user

I want to get the total of like for a user profile, to do this I'm using this endpoint : https://developers.facebook.com/docs/instagram-api/reference/ig-user/insights#lecture:~:text=GET%20/%7Big%2Duser%2Did%7D/insights I know this metrics is not…
ag7-alexis
  • 83
  • 2
  • 6
2
votes
2 answers

How to get media-id from Instagram URL

how can I get the media-id of a instagram posting from the url? For example I need the media-id for https://www.instagram.com/p/Cf4dPucLzW0/ Solutions that does not work anymore: Oembed dont give media-id back adding ?__a=1 to a link redirects me…
penguin_P
  • 63
  • 5
2
votes
1 answer

How to get a third person instagram data using Instagram Graph Api

I am successful of fetching my own data using Instagram Graph Api but unable to find a way to get other person's data. Official document clearly state that metadata of basic data for other Instagram businesses and creators are obtainable but not…
2
votes
1 answer

Instagram Graph API Authorizing IG user

I am using the INSTAGRAM GRAPH API and I want to authorize Instagram Business Users with our APP so that i can GRAB their insights. I have checked the documentation, they showing manual way to attach Instagram account by going to Facebook page…