Questions tagged [instagram-api]
The Instagram API enables the integration of Instagram's photos\videos content and functionality into a website, application or a device. Tag specific questions about the use of Instagram API.
2,945
questions
1
vote
0
answers
14
views
Instagram API auth link not working on react-native webview
I am trying to authenticate a user using a webview which loads the instragram auth api the link looks like this:
https://api.instagram.com/oauth/authorize?client_id=1234&redirect_uri=https://...
0
votes
0
answers
6
views
redirected to instagram-auth-failure#_ in dymantic/instagram
im using dymantic/laravel-instagram-feed package , but when i login to instagram after putting the client_id and redirect_uri, it redirects me to localhost/instagram-auth-failure# , thats the code and ...
0
votes
0
answers
7
views
Can I use link stickers when sharing to Stories with Instagram SDK?
I'm looking through the Sharing to Stories documentation and I can't seem to figure out which stickers are available. Is it really just an image that can only be uploaded to appear above the ...
0
votes
0
answers
41
views
How to resolve a stuck cookies pop-up in Instagram on Windows Server 2022?
Does not allow me to either accept or decline cookies in instagram webpage
I'm using windows server 2022
Note: cookies work in other sites, but the problem only occur in instagram.com
Is there anyway ...
0
votes
1
answer
46
views
Instagram Basic Display API - Video Poster Compression - thumbnail_url
Is there a way to compress or get a smaller version of the image when making calls to Instagram API?
If the media_type === 'IMAGE', I can get various different image sizes so that they load quicker, ...
0
votes
0
answers
15
views
Instagram Graph API reached_audience_demographics no longer seems to work as documentation suggests. Is this endpoint dead?
I am trying to grab my test accounts reached_audience_demographics and I don't get the same response the documentation shows.
I'm tyring to find the average and total accounts reached, amongst other ...
1
vote
1
answer
20
views
How to "create a Instagram Account using a Business Account"?
I was trying to log in into my app with Facebook Log In For Business for testing purpose. And it shows me the following message:
"You don't have any Instagram Accounts. To continue, you'll need ...
0
votes
0
answers
19
views
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 ...
0
votes
0
answers
7
views
What permission should I choose for Instagram app if I want to build a post scheduling system?
The specific use case:
I am trying to build an app that can help schedule posts for Instagram users who connect to it, which seems not available yet for Personal and Business accounts.
But when I ...
0
votes
1
answer
39
views
Why wont the meta-api show Instagram direct messages?
I am using the v14 meta-api and I am trying to send a request to show all the direct messages on an Instagram business account. Using the graph-api tool I am sending this request:
{page-id}/...
0
votes
1
answer
34
views
Reuse old long-lived Instagram user access access token after refreshing it
I know you can refresh a long-lived Instagram User Access token that is still valid by using:
GET https://graph.instagram.com/refresh_access_token
?grant_type=ig_refresh_token
&...
0
votes
0
answers
57
views
How to fix Instagram API error 401 with JS?
When I send a JS request to
https://www.instagram.com/{user}/?__a=1&__d=1
I get error 401. When using Python the request passes, when using JS I get an error. How can I fix it?
JS code:
async ...
-2
votes
0
answers
7
views
return blank when i try to get Instagram profile info on php [duplicate]
hi there please check my code i can't find the problem when try to get info it show blank screen
here is code
<?php
$username = $_GET['username'];
$link = "https://www.instagram.com/$username/...
0
votes
0
answers
15
views
Account creation date on instagram
how can we find someones account creation date in Instagram?
is there any way to do that with Instagram apis?
giving API and links
0
votes
0
answers
28
views
Fetching Instagram Post Based on Hashtags Through Instagram Graph Api
So, Today I was Trying To Fetch Instagram Post Using
Ig Hashtags Search Apis
But I AM Unable To Fetch POST Event If I have Converted my Instagram Account to Business Account ,
But Still It Is Showing ...
0
votes
0
answers
73
views
get likes_count, comments, location from Instagram Graph API
We are using Instagram Basic Display. Now we can get profile data and allMedia from instagram using this requests:
https://graph.instagram.com/me?fields=account_type%2Cmedia_count%2Cusername&...
0
votes
1
answer
56
views
Instagram Basic Display API didn't approve our app but the implementation works, why?
We're wanting to use Instagram Basic Display API, I implemented it, it works well. Basically what our app does with the API, is just getting the last 4 pictures of the user's instagram, and save it in ...
0
votes
0
answers
22
views
Meta Marketing API: Instagram Profile URL in WEBSITE_CLICKS Objective
Reading through Meta's documentation they specify: "You should not create WEBSITE_CLICKS ads that link to your Facebook Page or Instagram profile. This can result in API error and it also creates ...
0
votes
0
answers
55
views
Get Facebook Page ID from Instagram Id using Facebook Graph API
I am using the Facebook Graph API and is it possible to get the linked facebook page from Instagram Business ID?
I am getting linked Instagram Business ID through Facebook Page ID by following Graph ...
0
votes
1
answer
47
views
What's the difference can't load the Instagram embed code?
I'm developing using the Instagram basic API, and I'm trying to embed an image on my site as iframe.
So, I think each image must have an embed code to get post.
But, why is the embed code disabled for ...
0
votes
0
answers
52
views
Getting instagram followers and followings on python
I've a code that gets instagram followers and followings at the end it gives a comparision list but there is a problem. Generally, it cannot get all of the followers and following for example there ...
0
votes
0
answers
20
views
Meta Marketing API for "More Profile Visits" Objective - IG Boosted Post
We're trying to find API documentation to tie into the Boosted Post feature on Instagram for "More Profile Visits". All documentation I've found so far creates a traditional ad for link ...
0
votes
0
answers
32
views
how retrieve the profile picture of instagram user who posted a comment using Graph API
i'm using this query to get comments of post in Bussines account Instagram
https://graph.facebook.com/v16.0/{post-id}/comments?fields=from,text,timestamp,media,user,username,id
and i need to get the ...
-2
votes
0
answers
48
views
instagram-scraper in Google Colabs not working
I am trying to run instagram-scraper on Google Colabs.
I first installed the packagae:
!pip install instagram-scraper
It gave me this result:
Looking in indexes: https://pypi.org/simple, https://us-...
0
votes
0
answers
9
views
Correct path to get instagram_manage_messages permission on appreview
we have a CRM application and our goal is just to monitor Instagram business accounts to receive and manage messages sent to its Direct inbox. We put these messages on queues, one for each different ...
0
votes
0
answers
18
views
Instaloader library throws 'date_utc' error when given a link to download a post
Here is my code:
import instaloader
def download_instagram_post(post_url):
# Create an instance of Instaloader
loader = instaloader.Instaloader()
# Download the post
try:
...
0
votes
1
answer
40
views
No module named instapy
``# Import the InstaPy module and create a new session
from instapy import instapy
session = InstaPy()
# Log in to Instagram
session.login(username="", password="")
# Follow ...
0
votes
0
answers
35
views
Instafeed.js Instagram access token visible for everyone
I wanted to use instafeed.js to display the feed of an Instagram account on a Website.
After reading the documentation for instafeed.js, I noticed that the access token is visible on the client side.
...
0
votes
0
answers
87
views
Encoded results from instagram api
I tried to scrape instagram followers from a user using instagram api but the results are encoded in some format and I am unable to decode it.
import requests
from requests.structures import ...
0
votes
0
answers
159
views
instagram-private-api 400 Bad Request
With difficulties on using the official Instagram API, I have been using instagram-private-api in my project to create post via Discord for around half a year. However, recently I have encounter 400 ...
0
votes
1
answer
32
views
How can I mark message as read in instagrapi?
I am fetching messages in direct as below:
messages = client.direct_threads(amount=10)
for message in messages:
text = message.messages[0].text
user_id = message.messages[0].user_id
...
1
vote
0
answers
141
views
Sharing React web app content to Instagram
I have a React-based web application and I would like to allow users to share content to Instagram, either as a story or in their feed. I've already generated a snapshot of the HTML I want to share ...
0
votes
1
answer
59
views
How to properly use Instagram Test User Token Generator?
I recently made an application that was working with the user token generator and I was properly able to parse through the api. However, after I uploaded my code to GitHub, the token was invalidated (...
0
votes
0
answers
64
views
User token generator for instagram test token inactivating when code is pushed to github
Hi I am practicing using instagrams api and trying to see if I can publish a github pages website with a gallery of instagram posts from my account. When run locally, it works perfectly but once it is ...
0
votes
0
answers
130
views
Facebook api rate limited however headers suggest otherwise
I am trying to use the Instagram graph api to create a post on Instagram programmatically. However, I have recently been getting this error:
{'error': {'message': 'Application request limit reached', '...
1
vote
1
answer
151
views
Android 13 WebView Instagram Login Issue (Blocked Cookie Pop-up)
I've recently noticed that Instagram Login inside an Android App of mine is no longer working using a WebView, as the Instagram Login page no longer correctly displays a Cookie Popup, instead it just ...
0
votes
0
answers
49
views
How can i get the some public profile feed data on Instagram using Basic API?
When i tried to use the /oauth/authorize link on a account that is not a tester, i got the "Isufficient developer role" error. How can i send an link to an intagram user, so he can authorize ...
0
votes
0
answers
16
views
Invalid APP ID for Instagram API connection with Make (Integromat)
I want to automatize Instagram Post with Make (Integromat), when I want to make the connection of Make with my Instagram account it say that the ID of the APP is invalid on the popup window of the ...
0
votes
0
answers
22
views
How does instagram Graph API track unique daily users and calculate the app's rate limit?
I am trying to display my instagram account's photos in my mobile app. I display about 50 photos in a grid. I read on the docs that , insta basic display api has a application rate limit of 200 calls ...
0
votes
1
answer
180
views
Call Instagram App share option, through mobile web browser
I have a webpage that, if the user is on mobile, enabled the sharing option (story and post). As Instagram API is not letting share directly story or post when is not a mobile app, I want to call the ...
0
votes
0
answers
85
views
Instagram oEmbed API Invalid parameter
I have a Facebook app with advances access to oEmbed Reads permission.
For more than a year now, I've been using the Instagram oEmbed endpoint on Instagram accounts with no issues.
Since a month ago, ...
0
votes
0
answers
18
views
Instagram oEmbed with video only
Is there a way to get the markup that's responsive but doesn't include the 'header' and the 'footer' of the reels?
Basically to crop the reel so we only see what's inside the red rectangle
As per ...
0
votes
0
answers
31
views
how set instagram profile embed disable?
I need your help.
I have a question about the Instagram embedded function.
I don't want the "embed" feature.
We have referred to the site below to disable "embed".
https://www....
0
votes
0
answers
28
views
I tried to post a post but returned '(#10)The user is not an Instagram Business'
I'm sure I have a instagram business account,because can succeed before,but i tried to post a media return is not an business recently,I do not know where is wrong
I have no problem changing my other ...
1
vote
0
answers
100
views
Issues with access token for Instagram api
I'm trying to post on Instagram by GraphAPI. I got access token according this guide. I managed to get posts from my account by this token, but i can't post by it.
index.php
function get_content($url, ...
0
votes
0
answers
49
views
Does metric 'Impression' from Instagram Graph API include both organic and paid impressions?
could you please tell me which kind of impressions metric 'impressions' (from Instagram Graph API / IG User / Insights) have? Does it include both organic and paid impressions?
I have seen various ...
1
vote
1
answer
2k
views
Error while working with instapy: "ModuleNotFoundError: No module named 'clarifai.rest'"
from instapy import InstaPy
session = InstaPy(username='name', password='password')
session.login()
(I use VSC) my code breaks at the first line with error:
from clarifai.rest import ClarifaiApp, ...
0
votes
0
answers
189
views
Cannot get user's Instagram page with cURL
I'm trying to get the source code of an instagram user.... (see attached class), but I just get a loading page..............
Here's the class:
public static function getUrl($url) {
// ...
0
votes
0
answers
24
views
Regarding fetching count of followers and count of following of any instagram user using instagram username in javascript
i want to get count of followers and count of following of any instagram user with the help of their instagram username, how to do it, without using third party api, instagram authethic API would be ...
2
votes
0
answers
516
views
Why do I have not valid scopes for my instagram oauth request?
About 6 months ago I setup an Instagram feed via oauth for a clients website.
All was working well until they changed their password.
Instagram didn't seem to like this and expired the token.
I now ...