instagram

Using the Instagram API to get ALL followers

风流意气都作罢 提交于 2019-11-27 13:15:53
问题 I'm using the Instagram API to get the number of people who follow a given account as follows. $follow_info = file_get_contents('https://api.instagram.com/v1/users/477644454/followed-by?access_token=ACESS_TOKEN&count=-1'); $follow_info = @json_decode($follow_info, true); This returns a set of 50 results. They do have a next_url key in the array, but it becomes time consuming to keep on going to the next page of followers when dealing with tens of thousands. I read on StackOverflow that

Instagram hooks pre-select media issue

﹥>﹥吖頭↗ 提交于 2019-11-27 12:54:29
This is my code. The file is correctly added to photos library, but in instagram app this url -> instagram://library?AssetPath=assets-library%3A%2F%2Fasset%2Fasset.mp4%3Fid=5EDBD113-FF57-476B-AABB-6A59F31170B5&ext=mp4&InstagramCaption=my%caption don't open the last video. - (void)loadCameraRollAssetToInstagram:(NSURL*)assetsLibraryURL andMessage:(NSString*)message { NSString *escapedString = [self urlencodedString:assetsLibraryURL.absoluteString]; NSString *escapedCaption = [self urlencodedString:message]; NSURL *instagramURL = [NSURL URLWithString:[NSString stringWithFormat:@"instagram:/

Instagram Unable to reach callback URL

只谈情不闲聊 提交于 2019-11-27 12:08:16
I'm having weird problem that instagram won't allow me to subscribe to more tags. I subscribed yesterday to 3 tags without any problem, I tried today with new tag and no effect. Does somebody else have same problems? I keep getting APISubscriptionError code 400 Unable to reach callback URL, but that URL is globaly accessible, even instagram is calling it every 5 min for tags i added yesterday. Any ideas? uberdog This problem has now been fixed. If it re-appears, here is workaround that I developed dealing with similar problems with the real-time API over the past couple years. Set your system

How To Search Instagram via API Query?

左心房为你撑大大i 提交于 2019-11-27 11:24:05
问题 I would like to build a small 'instant image search' app powered by Instagram photos. This would be like Google Instant where you start typing and results are displayed/updated as you type more letters. You can see a live demo app powered by Google Images instead. I know this is possible with larger engines (Google, Yahoo!, Bing) but I have no idea if Instagram will allow this. Can anybody familiar with the API offer help on this? If it's not possible to search via the API that makes sense. I

post image in Instagram

隐身守侯 提交于 2019-11-27 11:09:23
Question : In my app I need to post image in Instagram just like FB or Twitter. What I have already done : Login and fetched photographs from the Instagram to my own app. But not getting any way for image posting in Instagram. No, you can't. Quoted from Instagram API docs : At this time, uploading via the API is not possible. We made a conscious choice not to add this for the following reasons: Instagram is about your life on the go – we hope to encourage photos from within the app. However, in the future we may give whitelist access to individual apps on a case by case basis. We want to fight

Instagram ?__a=1 url not working anymore & problems with graphql/query to get data

假如想象 提交于 2019-11-27 10:48:52
Update 19 April After a few days using cookie ig_pr two days ago is block. Looks like the only way to get the data now is use sessionid with a specific value Original I was using instagram ?__a=1 url to read all the post of instagram's users. A few hours ago there was a change in the response and now doesn't allow me to use max_id to paginate. Before I usually sent a request to https://www.instagram.com/{{username}}/?__a=1 and using the graphql.edge_owner_to_timeline_media.page_info.end_cursor in the response I called the same page with a new max_id https://www.instagram.com/{{username}}/?__a

API support for Instagram Direct

血红的双手。 提交于 2019-11-27 10:39:41
问题 Instagram recently announced support for direct messages to users: http://blog.instagram.com/post/69789416311/instagram-direct. It doesn't look like accessing received direct messages for an authenticated user is possible through the Instagram API. If that's the case, are there plans to support such a feature? If not, can someone describe which endpoint I have to use to do so? 回答1: There is no Instagram API for direct share at the moment. The URLs they use from the app for the direct share

Instagram oauth - error 400 matching code not found [closed]

拜拜、爱过 提交于 2019-11-27 10:38:07
问题 Problem started two days ago and affected about 70% of our users. This error is not depends on IP, libraries or server configuration. Instagram ignores my requests, Facebook do too. I've tried to reset client secret, change IP and region, so nothing helped. Other users reports same problem: https://news.ycombinator.com/item?id=13178789 Maybe someone from Instagram/Facebook read StackOverflow and can give some advise or clarify this situation? 回答1: I'm seeing this consistently. After much

Instagram API to fetch pictures with specific hashtags [closed]

早过忘川 提交于 2019-11-27 10:21:22
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I want to get all the pictures with a specific hash tag from Instagram using PHP. How can I do that? 回答1: Firstly, the Instagram API endpoint "tags" required OAuth authentication. You can query results for a particular hashtag (snowy in this case) using the following url It is rate limited to 5000 (X-Ratelimit

Did Instagram change API rate limits on Mar 30, 2018?

烈酒焚心 提交于 2019-11-27 09:22:15
I use some self developed script to get info about my posts and followers. Recently I discovered that Instagram changed rate limits for my app. I see following info in headers: x-ratelimit-limit: 200 I learned Instagram blog and page with changes but found no mentions about any changes since Oct 1, 2017. Is this new limit related only to my token or to entire platform? Could you check your token? Yes It is, Although no official communication. I also experienced that. I found this in their documentation. The Instagram API uses the same rate limiting as the Graph API (200 calls per user per hour