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
4
votes
3 answers

Is there a way to tell if its an Instagram creator or business account?

Recently Instagram introduced their new Creator profiles. Your Instagram account can now be one of the following: personal account, business account or creator account. Not everything which is possible with a business account is also possible with a…
RaideR
  • 869
  • 1
  • 12
  • 33
4
votes
1 answer

Instagram Graph API: Convert ig_id to id - Migrating from Instagram API => Graph API

I'm trying to migrate a custom reporting platform from Instagram's old API to the new Graph API ( https://developers.facebook.com/docs/instagram-api/reference/media/#metadata ) I have a database that has stored a few years worth of post data for…
James
  • 3,233
  • 3
  • 40
  • 57
4
votes
2 answers

Access public data of other users using Instagram/Facebook API

I would like to access other users public data to show in my website when they configure the page by their username/id. It means I will create an app on FB/Instagram side and with the help of this app's access token I would like to fetch public data…
suyash
  • 1,254
  • 1
  • 15
  • 33
4
votes
1 answer

Like a post through the Instagram Graph API?

Is it possible to like a post through Instagram's new Graph API? It looks like the old Instagram API has been depreciated, along with the liking endpoints. Is this functionality just not supported anymore?
nicholas
  • 14,184
  • 22
  • 82
  • 138
3
votes
3 answers

Count No of Follower on Instagram ? any Permanent solution?

I am trying to pull the number of followers from a list of Instagram accounts. I want to integrate Instagram API or any hack solution to get out no of followers on the Instagram account. I found many solutions for the above problem but none of them…
3
votes
0 answers

Get reach/likes from Instagram API with followers/non followers info

I want to retrieve IG post's metrics information with the new additional data about followers/non_followers (recently added on the platform's APP). At the moment I have a FB app connected to my Instagram business account and I read metrics like…
Barbi
  • 139
  • 1
  • 11
3
votes
1 answer

How to add instagram feed to website in 2022?

I would like to show the last 8 images from my Instagram profile on my website. I've just spent the last hour looking for info on this but can't find anything recent information anywhere. I can't believe something as simple as showing my latest…
Dingo Bruce
  • 405
  • 1
  • 7
  • 14
3
votes
0 answers

Facebook Instagram Graph API Filter Media Type in API request

I'm trying to find a way to filter the media_type results of the API request directly inside the request. So basically I only want the results from the API to return results where the media_type is not VIDEO. I have checked other answers from Stack…
3
votes
0 answers

Graph API issue while Instagram Video Posting - Media upload has failed with error code 2207026"

My program is working perfectly fine when I try to upload Pictures through graph API on Instagram. But when I try to upload videos through graph API it gives this error {"id":"17907424258891270","status":"Error: Media upload has failed with…
3
votes
3 answers

Implementing Instagram Login in React App

I am trying to implement Instagram Login in my React App. I am setting the Client OAuth Redirect URL to http://localhost:3000 but the Developer account is not accepting the URL saying it has to be https. Any suggestions on whats the best way to…
Harsha M V
  • 54,075
  • 125
  • 354
  • 529
3
votes
1 answer

how to solve status code 429 on hitting an instagram api with axios

Update:- I tested it on ios It is giving the response but on android it is giving status 429 I am trying to hit API of instagram to get json data from it by appending __a=1 in the Instagram URL to get the download link of the video url. But it is…
sagar singh
  • 31
  • 1
  • 4
3
votes
0 answers

How to get follower count of any instagram account?

Need the follower count of any Instagram account – best way with Graph API but cannot find anything. Only for business profiles. Don't want to use cURL since it just don't work correct and it's based on their HTML. Their old API is deprecated since…
Kevin Lieser
  • 951
  • 1
  • 9
  • 25
3
votes
0 answers

How to get the list of followers from an Instagram account without getting banned?

I am trying to scrape all the followers of some particular Instagram accounts. I am using Python 3.8.3 and the latest version of Instaloader library. The code I have written is given below: # Import the required libraries: import instaloader import…
3
votes
0 answers

Is there any public Instagram API for Story? Get Instagram Stories Json

The title says it all. I was wondering if there is any workaround or public API endpoint which allows you to get story data back from public users? I have tried using this endpoint, https://www.instagram.com/stories/**username**/**storyID**/?__a=1,…
3
votes
2 answers

How to display my Instagram feed on my website?

i have a website that shows my Instagram feed. previously i was using Instagram following API. users/self/media/recent This API was using access token that i generated once and kept in as a variable in my code without changing it for long time (for…