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
2
votes
1 answer

New Facebook Long Lived Access Tokens Are Not Valid

I am creating long lived access tokens for my users when they first sign up for my app, this has been working fine for the past 6-8 months. Recently, the manage_pages permission was revoked from my app (when Graph API v8.0 was released) due to lack…
2
votes
0 answers

Commenting and Getting post information of other profiles using instagram graph API

Is it possible To comment on a public profile/page's post using Instagram graph API. To get the comments information of a particular open profile? Like userid, username and their comments I have searched and went through the documentation on the…
2
votes
1 answer

Instagram Graph API problem by using /insights edge

I'm trying to learn more about Instagram Graph API and I received a problem during my data retrieval. When I try to use {ig-user-id}/insights edge I get this error. (#100) Tried accessing nonexisting field (insights) on node type (InstagramUser) I'm…
ardahdmi
  • 21
  • 3
2
votes
2 answers

No Activity found to handle Intent { act=com.instagram.share.ADD_TO_STORY}

as mentioned in Facebook developers, the way to publish a story to Instagram is to use the following code. one of solutions as mentioned here suggests that it will be resolved once Instagram is restarted. although it isn't working with us Intent…
2
votes
0 answers

Instagram API working on local computer but not on server

I use Instagram API to fetch data in Python. Everything was working fine on my server but now it has started to show error ( json.decoder.JSONDecodeError : ExpectingValue ). I examined the same code on my local machine and found that everything…
Abhishek Gupta
  • 319
  • 3
  • 5
  • 8
2
votes
1 answer

Sending / Reading Instagram Direct Messages using Facebook app account or any other means

I have got a question if someone could help me: I want my app to receive webhook notifications for Instagram Direct messages using GraphAPI. I tried using "instagram_manage_messages" permission…
sanjay bhatol
  • 66
  • 1
  • 5
2
votes
0 answers

How to get instagram access token according to latest instagram api rules?

I followed that official document - https://developers.facebook.com/docs/instagram-basic-display-api/getting-started/ i get "code" using this link…
sumeet bajaj
  • 237
  • 2
  • 12
2
votes
0 answers

Instagram API to control iframe embedded video player

With YouTube and Facebook we can control videos in embedded iframe with the appropriate APIs/SDKs. They provide js objects to call e.g. playVideo() or listen to different events. Is this possible somehow with Instagram videos too? I couldn't find…
clic
  • 365
  • 1
  • 13
2
votes
2 answers

Display my own instagram feed on my own website

There must be a simpler way to do this, I feel like I am going insane. I simply have a website I created for a business, and they would like their instagram feed to display on their gallery page rather than static images. After looking through the…
Thas Me
  • 53
  • 7
2
votes
1 answer

OAuthException using Instagram Display API

Getting an error when calling a POST at this endoint. https://api.instagram.com/oauth/authorize This is the request body: { "client_id": "62022....13674", "client_secret": "081f5d8d8d0.....cfbe88d8df1bf1", "grant_type":…
MontyTheMack
  • 331
  • 1
  • 5
  • 13
2
votes
0 answers

Instagram graph api get amount of follows and followers

Trying to figure out a way to get the amount of follows and followers of a user via the Instagram-basic-display-api which is intended for consumer users. I can only get the account_type, id, media_count, username fields when doing a get on the user…
mkshake
  • 99
  • 2
  • 5
2
votes
0 answers

How to get multiple different instagram user's recent posts using the Basic Display API

TL;DR - can I create an instagram access token generator with the new Basic Display API? I work for a web design agency building websites for other businesses. These clients often require us to add an "Instagram feed" to their website, meaning a…
2
votes
1 answer

Is it still possible to post Follow/Unfollow from Instagrams's API?

I've searched through all of the documentation from Instagram's APIs and I can't find a single mention about posting unfollow / follow. If you could point me in the right direction I would very much appreciate it. Thank you.
2
votes
0 answers

How to avoid Instagram API error '429 too many requests'

I have an hard problem to solve: I have a list of Instagram users and I need to extract the list of 'following' from each account. In order to simplify the requests, (using Python) I use a module called 'igramscraper'. I structured the script in…
2
votes
2 answers

how to post on instagram using graph api in php

I am trying to post on instagram using graph api but i am not able to post. Content Publishing The Content Publishing API is a subset of Instagram Graph API endpoints that allow you to publish IG Media objects on Instagram Business IG…