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
0
votes
0 answers

how to get the instagram_business_account_id using a test user?

Created a test user on the Facebook developer panel. Created a page, and linked my Instagram user to this test user but I can't get the instagram_business_account_id of the Instagram user. Getting the page id : GET:…
0
votes
1 answer

How publish content automatically in another instagram account by instagram graph API?

I'm creating a app that publish content on instagram automatically. But, I need publish content for new users in my app, for example: A new user enter with your "username" and my application will publish a content for this new user. In this case i…
0
votes
1 answer

Is instabot.py safe to use?

I am unfamiliar with the instaboy.py python package. I am wondering if there are any security issues with this package like possibly getting information leaked. I am wondering how does the API work if there are a lot of people using this package.…
0
votes
0 answers

How to get instagram video in my website?

I'm using instafeed.js var feed = new Instafeed({ userId: 'XXXXXXXXX', get: 'user', accessToken: 'XXXXXXXXX', resolution: 'standard_resolution', target: "instafeed-container", limit: 30, …
Amol
  • 142
  • 1
  • 1
  • 9
0
votes
0 answers

How do you save a JSON response with Emojis as Unicode?

Currently I am scraping Instagram comments for a sentiment analysis project, and am using an Instagram scraper. It is supposed to output a comment file but it doesn't, so a workaround is to find the query URL in the log file and paste it into a…
0
votes
1 answer

Instagram Graph API - Data access expires

I often have the case where an data access token expires, but I still can continue to pull in content from Instagram Graph API. I use instagram_basic,instagram_manage_comments,instagram_manage_insights permissions. For which permissions data access…
Daulet
  • 1
  • 1
0
votes
0 answers

low level caching with rails

I want to make a request to a read only API (instagram) and cache the answer so I only do it once every hour. My code is as follow def update_images Rails.cache.fetch("instagram_api", expires_in: 1.hour) do client =…
Victor
  • 35
  • 5
0
votes
0 answers

Facebook Graph API permissions for public pages

Please tell me if I didn't miss any required permissions and didn't take something superfluous for my app in Facebook Graph Api. My goal is to: Access any public [profiles'/pages'/groups'] [posts/stories/feed] on [facebook/instagram] The permissions…
Modemi4
  • 47
  • 9
0
votes
1 answer

Facebook App Review instagram_basic not being tested properly

Currently I am trying to get my app approved by Facebook. My app allows users to connect their instagram account. I use data like instagram_profile_picture and followed_by_count to complete their profile with reliable data. For that, I request the…
0
votes
0 answers

How to get insights of the instagram's post?

I want to get the insights of Instagram's post using media-id. From the URL e.g https://www.instagram.com/p/BWxFy1hHbzz I got the media-id "1563056029344578803" and owner-id "1371714791". But I could not fetch the insights as per the documentation…
0
votes
0 answers

Instagram Subscribe

Is there any way how can I subscribe / unsubscribe programatically on Instagram, if I have the account credentials? There are plenty of Websites, which are doing the same. But, as far as I know, there is no API, which makes that possible.
JetBrains
  • 456
  • 2
  • 6
  • 18
0
votes
0 answers

How to retrieve Instagram username if Verified or not?

Is there any Instagram API or No API, website, endpoint call that can gets me if the username stated verified or not? I've tried: https://www.instagram.com/web/search/topsearch/?query=nike But it return with too much "is_verified": true There's no…
0
votes
2 answers

Provide metrics for Business Discovery insights in Instagram Graph API

I was creating an application to get insights into business and creator accounts. But when I was trying out to get insights of an account using business discovery, I was receiving the error { "error": { "message": "(#100) For field 'insights':…
0
votes
1 answer

Instagram images not displaying in my site's IG feed, show broken images with 400 response

I have an Instagram feed on my site that uses the Instagram API to display and link to posts. Suddenly none of the images are displaying, and the console shows a 400 error for all of them. But if I check the image src and browse to it directly, the…
Erica Stockwell-Alpert
  • 4,624
  • 10
  • 63
  • 130
0
votes
1 answer

Which Instagram API should I use to collect public data?

Does either the Instagram Basic Display API or the Instagram Graph API allow me to simply get any public user's posts/media programatically? Everywhere in the documentation it says "User data" but it feels like I can only get data of the user that…
quqa123
  • 605
  • 6
  • 15