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.

This tag collects questions about the use of Instagram API.

Instagram’s API uses the OAuth 2.0 protocol for simple, but effective authentication and authorization. OAuth 2.0 is much easier to use than previous schemes; developers can start using the Instagram API almost immediately. The one thing to keep in mind is that all requests to the API must be made over SSL (https:// not http://)

Official Developer Site: Link

Facebook' Instagram Graph API support: Reference

Instagram API tutorial

2971 questions
11
votes
4 answers

KeyError: 'data' with Python Instagram API client

I'm using this client python-instagram with Python 3.4.3 on MacOS. Here are my steps: Registered a new client on instagram, received client_id and client_secret Pip install python-instagram Copy sample_app.py to my mac I followed the instructions…
Andrei Alekseev
  • 367
  • 3
  • 9
11
votes
3 answers

Query Instagram posts by hashtag and time range

I'm trying to query posts from Instagram by providing the hashtag and the time range (since and until dates). I use the recent tags endpoint. https://api.instagram.com/v1/tags/{tag-name}/media/recent?access_token=ACCESS-TOKEN My code is written in…
phizzy
  • 936
  • 9
  • 26
11
votes
1 answer

Instagram Square photos API

Will Instagram provide any way to grab the portrait/landscape through the API ? API docs looks untouched. As of now, they still returns the square sizes for the portrait images, but the api documentation doesn't provide any way to get the original…
Pedro Casado
  • 1,705
  • 1
  • 21
  • 43
11
votes
1 answer

Grabbing tagged instagram photos in real time

I'm trying to download photos posted with specific tag in real time. I found real time api pretty useless so I'm using long polling strategy. Below is pseudocode with comments of sublte bugs in it newMediaCount = getMediaCount(); delta =…
user2418306
  • 2,352
  • 1
  • 22
  • 33
10
votes
7 answers

How can I get my app using Instagram Basic Display API pass app review?

This is now the 4th time I am sending my app for review. I want to use Instagram Basic Display API and therefore require instagram_graph_user_media permission to access media (and incidentally instagram_graph_user_profile). I have 2 test users, my…
standup75
  • 4,734
  • 6
  • 28
  • 49
10
votes
2 answers

'Instagram Public Content Access' For Development

I'm trying to develop an web app which use "Hashtag Search API" API url: https://developers.facebook.com/docs/instagram-api/hashtag-search When i used this API, Facebook returns "(#10) To use 'Instagram Public Content Access', your use of this…
10
votes
3 answers

Share video and sticker Image to Instagram Story on Android

How can I share a video as a background and an image as a sticker together to Instagram Story? This documentation has only one solution if both contents are images. https://developers.facebook.com/docs/instagram/sharing-to-stories/ I would like to…
Oli
  • 1,407
  • 3
  • 30
  • 47
10
votes
1 answer

Instagram search user api always return empty result with success code

We are invoking instagram search users api to get profile list as https://api.instagram.com/v1/users/search?q={search-term}&access_token={access-token} but we are getting always empty result with success code as {"meta": {"code": 200}, "data":…
user6096856
  • 291
  • 3
  • 9
10
votes
3 answers

How to embed instagram profile?

I have found literally hundreds of ways to embed instagram gallery in a website, but what I need is to embed the whole profile, t.i. if you look at this profile for example: https://www.instagram.com/exampleprofile/ there's a profile image, about,…
Xeen
  • 6,955
  • 16
  • 60
  • 111
10
votes
3 answers

How to retrieve video view count from Instagram API

Instagram recently started showing view counts on videos. Is there a way to pull this data from the API? I read through the documentation but I could not find anything about "Views" only "Likes".
Chris
  • 103
  • 1
  • 7
9
votes
3 answers

Error when I scrape Instagram accounts. Adding `?__a=1` to the URL doesn't work anymore. Any clues?

Until 2 days ago, I was able to scrape Instagram accounts by adding ?__a=1 at the end of the URL. E.g.: https://www.instagram.com/xavi/?__a=1 Now, when I do the same thing I get this response: for (;;); { "__ar": 1, "error": 1357004, …
9
votes
1 answer

Instagram Feed in website - using Instagram Basic Display API

I am trying to show instagram feed(of a specific account) on website using the developer documentation at https://developers.facebook.com/docs/instagram-basic-display-api/getting-started . instagram-basic-display-api seems supporting "Getting an…
Avenger
  • 205
  • 2
  • 10
9
votes
1 answer

How can I create an Instagram sharer link in PHP?

How can I share a post on Instagram with PHP? My code here: Share I am using Laravel.
Amrik Singh
  • 139
  • 1
  • 1
  • 8
9
votes
1 answer

Instagram API vs Instagram Graph API

I'd like to write a really simple website, one that allows ANY Instagram users, big or small, business or personal, to come to my website, login using their instagram credentials (oauth) and then see the last 5 posts on their feed. I've already done…
user285429
  • 303
  • 1
  • 4
  • 10
9
votes
3 answers

Bug with Instagram API Login - This page could not be loaded

Since few days I have problems with the API instagram. Instagram sending this error page after the user has entered this login information. "This page could not be loaded. If you have cookies disabled in your browser, or you are browsing in private…
Julien Levallois
  • 131
  • 1
  • 2
  • 5