Posts tagged with instagram-graph-api

We want to use the Instagram Graph API to get a list of public accounts that have used a specific tag recently (or a @). I already set the app up but before I am going to dive more deeply, I want to ask whether this is possible. Because the last post I read about it (in 2020) it wasn't possible due to privacy, but the lines that were quoted, aren't in the recent manual so I am not sure whether it is still applicable. I can't find another recent answer about it.

Does someone knows this? Thank you so much!

Post I mentioned Facebook Instagram Graph Api Get Tags with username The recent manual: https://developers.facebook.com/docs/instagram-api/guides/hashtag-search

I already googled it to try to find the answer

I have been trying to fetch posts from instagram user profiles that are not professional/business profiles.

I am using below url: https://graph.instagram.com/USER_ID/media?fields=id,caption,media_type,media_url,thumbnail_url,permalink,timestamp&access_token=ACCESS_TOKEN Instead of giving me posts it gives me this error: Sorry, this content isn't available right now

Question: How can I use Instagram Basic Display API to fetch page or user posts without having the user to login through instagram or facebook?

Today, I see the endpoint https://developers.facebook.com/docs/graph-api/reference/v20.0/location that retrieves the location of my own page. Is there any way to obtain the location of third-party users, such as those who comment or send private messages directly to my instagram page?

I tried using this endpoint with the IDs of some other users who contacted my page via DM without success. I can see the number of followers, following, username, among other things.

I am trying to set up an Instagram Graph API integration.

The problem in short: when trying to query the GET /me/accounts endpoint, i get an empty data list (pages list). And that makes me unable to continue with data fetching (beacuse I need his instagram user id).

Details:

  • My instagram app is not live yet, still in development (yet to go through app review process)
  • Im trying to do it with an access token of a friend (for my account it works). I think I completed all the prerequisites for that to be possible: added his developer account as a developer in my app, he connected the instagram account to the facebook page, i got the access token with the following permissions: instagram_basic,pages_show_list,pages_read_engagement,instagram_manage_insights
  • The same flow works for my account
  • The same result received when using the Graph API Explorer
  • Im basically trying to set up with those two guides (tried both ways, still empty list): https://developers.facebook.com/docs/instagram-api/getting-started and https://developers.facebook.com/docs/instagram/business-login-for-instagram

I'm new to development with Instagram APIs and am trying to make a React based application that uses Instagram's graph API in order to fetch posts where my professional account is mentioned and display them on my webpage. I tried going through the Meta documentation on how to use their graph API, but I don't quite get where to start and I am getting confused with all the steps I need to take to just make my first API call. The Meta guide is https://developers.facebook.com/docs/instagram-api/getting-started . Any help regarding this on the steps or links to resources that can guide me through this would be great! Thanks in advance!

I have tried making a react application, but in one of the steps it says to create a facebook login app on my meta dashboard first, I did do that, but I am not getting access to the required permission, instgram_basic, etc.