instagram

API Tags endpoint error - min_id is not a valid cursor for this tag

空扰寡人 提交于 2019-12-04 05:55:12
Since a few days ago we've been getting an error response from Instagram API - it complains that we are using an invalid cursor 'min_id' when accessing the Tags endpoint. Thing is we don't use 'min_id'. We use 'min_tag_id', which according to the documentation ( deprecated & current ) is a valid cursor for this endpoint. Doing some research I see that some people have been getting unexpected errors too (though different ones) around this week. Example API request (plug an access token and paste in a browser to see for yourselves): https://api.instagram.com/v1/tags/nofilter/media/recent?access

Instagram API how to get user ID?

十年热恋 提交于 2019-12-04 04:50:22
How can I get the user ID with the user name with instagram API without user authentication? If I try users/search, it returns multiple research results, so how can I be sure that I get the result of exact user name only? For example, following requests return multiple users having their usernames similiar to aliciakeys , I want to get only the data of the user with exact user name. https://api.instagram.com/v1/users/search?q=aliciakeys&access_token=[your token] If you know that the search term will always be the full username and you can simply iterate through the results and stop when the

Increase 350 Request Limit for Instagram API

不羁岁月 提交于 2019-12-04 04:26:38
According to the developer documentation clients are allowed to make 5000 requests per hour, but at the moment my application is being limited to 350 requests per hour. The error code I get is 400, and the message is "The number of maximum requests per hour has been exceeded. You have made XXX requests of the allowed 350, in last hour.". Do you know why this request limit is in place, and how it can be increased to the listed 5000? Note: My application uses the API to like certain images, but according to the documentation I should still get 5000 requests per hour. krisrak 5000 is total number

Instagram API Error: Client request limit reached

*爱你&永不变心* 提交于 2019-12-04 03:49:15
问题 I am getting this error whenever I try to follow someone on Instagram via API no matter how many follows have been done before: {"meta":{"error_type":"APIError","code":400,"error_message":"Client request limit reached"}} My app allows authenticated users to follow interesting people. I know that there is a 5000 call/hour limit per authenticated user, but it fails even with new users. Do my app is reaching some kind of client level limit? 回答1: APIs like follow, unfollow, comment are limited to

How to Get Historical Data from Instagram API

一世执手 提交于 2019-12-04 03:45:45
I'm making an Instagram analytics web app. I've carefully read all of the Instagram API endpoints and I can't find any way to get historical data (ie, followers over time). All I would need would be something like a date followed, attached to each follower object. However, there are Instagram analytics sites that offer this, for example, minter.io. https://minter.io/faq#faq-posting-1 From link above: " Minter.io provides full historical data on Instagram accounts and hashtags except for: Accounts – List of Lost Followers Hashtags – Reach and Exposure In these reports the data will only be

Instagram API media/search/ endpoint return results outside the time range

依然范特西╮ 提交于 2019-12-04 03:38:39
问题 I'm currently using Instagram API media/search endpoint using this following sample configuration: curl -XGET 'https://api.instagram.com/v1/media/search? lat=1.3058866783157643&lng=103.88191223144531&distance=5000& min_timestamp=1394615197&max_timestamp=1394615227& access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' The highlights of this command are: min_timestamp = 1394615197 max_timestamp = 1394615227 The results that I obtained has these following created_time field: (I don

Share video and sticker Image to Instagram Story on Android

ⅰ亾dé卋堺 提交于 2019-12-04 03:17:58
问题 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 send a background video together with a sticker image. Is that possible with Instagram Story? I tried that, but unfortunately it didn't work: // Define image asset URI and attribution link URL Uri backgroundAssetUri = Uri.fromFile(new File

How Do I Play Video in ListView like Instagram and Vine?

て烟熏妆下的殇ゞ 提交于 2019-12-04 02:54:17
I'm new to android development and I am trying to play multiple videos in a listview. Currently, each listview row item is a VideoView. This approach has not worked as the VideoViews act abnormally when I begin to scroll. I've researched here , here , here and discovered that VideoViews and TextureViews don't work well within ListViews and ScrollViews. How are apps like vine and instagram able to play videos in listviews? Any help is greatly appreciated? Although the answer is late but i think it might help someone searching for the same. There is a sample app from the github that has

Can AUTO_INCREMENT be safely used in a BEFORE TRIGGER in MySQL

丶灬走出姿态 提交于 2019-12-04 02:04:09
Instagram's Postgres method of implementing custom Ids for Sharding is great, but I need the implementation in MySQL. So, I converted the method found at the bottom of this blog, here: http://instagram-engineering.tumblr.com/post/10853187575/sharding-ids-at-instagram MySQL Version: CREATE TRIGGER shard_insert BEFORE INSERT ON tablename FOR EACH ROW BEGIN DECLARE seq_id BIGINT; DECLARE now_millis BIGINT; DECLARE our_epoch BIGINT DEFAULT 1314220021721; DECLARE shard_id INT DEFAULT 1; SET now_millis = (SELECT UNIX_TIMESTAMP(NOW(3)) * 1000); SET seq_id = (SELECT AUTO_INCREMENT FROM information

How to verify Instagram real-time API x-hub-signature in Java?

随声附和 提交于 2019-12-03 21:56:43
I'm using Play framework to develop consumer for Instagram real-time API. But still could not perform x-hub-signature verification properly. So, how can we perform Instagram x-hub-signature verification using Java and Play framework? Here is my current code: From the Play framework, I obtain the JSON payload using this method: public static Result receiveInstaData(){ JsonNode json = request().body().asJson(); //obtain the x-hub-signature from the header //obtain the corresponding client secret VerificationResult verificationResult = SubscriptionUtil.verifySubscriptionPostSignature(