instagram-api

Instagram API not returning followers

 ̄綄美尐妖づ 提交于 2019-12-22 05:52:32
问题 I'm authenticated with Instagram, and I got an access token with scope follower_list . Then I tried to get my followers list: https://api.instagram.com/v1/users/self/followed-by?access_token=123.456 and all I got was an empty array, like following { "pagination": {}, "meta": { "code": 200 }, "data": [] } I don't really know if this is a problem from Instagram side or this is an expected behavior since I'm on Sandbox mode (although the documentation says I can expect to get real data even on

Sorry, an error occurs from Instagram API: This endpoint has been retired [duplicate]

随声附和 提交于 2019-12-22 05:23:39
问题 This question already exists : Instagram/Facebook deprecating many APIs [duplicate] Closed last year . i am using wordpress site with the grid plugin, yesterday the plugin work great, i added new access token, today it start showing me this error "Sorry, an error occurs from Instagram API: This endpoint has been retired " 回答1: One more sudden change from Insatagram, few endpoints are deprecated immediately, It's effective from 4th April. here is list of endpoints are 1) Follows and

Instagram Real time updates tag - callback called twice?

时光毁灭记忆、已成空白 提交于 2019-12-22 04:13:04
问题 I am using instagram real time updates for tag, to get notification when someone tag media with specific tag. Subscription works fine, and im able to check subscription directly using https://api.instagram.com/v1/subscriptions?client_secret={cs}&client_id={cid} Within callback i have something like if (isset ($_GET['hub_challenge'])){ echo $_GET['hub_challenge']; } else{ $my_string = file_get_contents('php://input'); $sub_update = json_decode($my_string); //do the rest of the things with data

Instagram subscription - Unable to reach callback URL - ONGOING

社会主义新天地 提交于 2019-12-20 10:25:14
问题 This issue has been posted many times before but I haven't found a solution yet. I've contacted Instagram Developer support but a week later I've still had no luck or a response form them so hoping someone here can help me out. My app has been approved by Instagram for basic permissions. Doing a Form POST to https://api.instagram.com/v1/subscriptions/ with all the relevant data (callback_url, object=user, aspect=media, verify_token, client_secret, client_id) to create a subscription for

Instagram API limit reduced to 200 from 5000 [duplicate]

帅比萌擦擦* 提交于 2019-12-20 08:34:46
问题 This question already has answers here : Did Instagram change API rate limits on Mar 30, 2018? (5 answers) Closed last year . Does anyone have any clue why Instagram has reduced their hourly API request limit from 5000 to just 200? Is this a bug or the new normal? Do instagram partners undergo the same lowering of rate limit? The page on rate limits in the documentation is a broken link. :::UPDATES FROM INSTAGRAM via MAIL::: To summarize, Basically Instagram API is shutting down faster than

res.redirect doesn't redirect Node/Express.js

僤鯓⒐⒋嵵緔 提交于 2019-12-20 07:04:37
问题 I'm using Express for my webapp and I'm checking to see if some value doesn't exists in session, redirect the user to instagram login page. But in the console I keep getting 302 code and the browser doesn't redirect the user here is my code. I'm sending my requests using Ajax. function requireLogin (req, res, next) { if (!req.token) res.redirect('/auth'); else next(); }; app.get('/auth',function(req,res,next){ res.redirect("https://api.instagram.com/oauth/authorize/?client_id="+client_id+"

Create NSURL using AssetPath

半城伤御伤魂 提交于 2019-12-20 05:05:24
问题 Using UIImagePickerController, I'm able to get the Asset Path for a Media like assets-library://asset/asset.MOV?id=2A2CE6C9-C178-4395-977B-E6F159BF6D5E&ext=MOV . NSURL *instagramURL = [NSURL URLWithString:[NSString stringWithFormat:@"instagram://library?AssetPath=%@&InstagramCaption=%@",[referenceURL absoluteString], strInstagramCaption]]; Now, I want to convert this Asset Path into NSURL to pass it into following code block : if ([[UIApplication sharedApplication] canOpenURL:instagramURL]) {

Create NSURL using AssetPath

家住魔仙堡 提交于 2019-12-20 05:04:26
问题 Using UIImagePickerController, I'm able to get the Asset Path for a Media like assets-library://asset/asset.MOV?id=2A2CE6C9-C178-4395-977B-E6F159BF6D5E&ext=MOV . NSURL *instagramURL = [NSURL URLWithString:[NSString stringWithFormat:@"instagram://library?AssetPath=%@&InstagramCaption=%@",[referenceURL absoluteString], strInstagramCaption]]; Now, I want to convert this Asset Path into NSURL to pass it into following code block : if ([[UIApplication sharedApplication] canOpenURL:instagramURL]) {

Instagram “You Cannot Like this Media” 400 status code

蓝咒 提交于 2019-12-19 04:51:17
问题 I am aware that the Instagram API was down a few hours ago, but it seems to be back up now. The problem is, when we post data to Instagram saying to like a specific photo, we get this error: {"meta":{"error_type":"APINotAllowedError","code":400,"error_message":"you cannot like this media"}} We have gotten this error before, but we don't understand why we are getting it. Keep in mind, we logged into an alternate account which means that account hasn't even liked the media yet. If it helps at

Instagram InstagramCaption not working

只愿长相守 提交于 2019-12-19 00:56:33
问题 I have below code for sharing article on Instagram. -(void) shareInstagram { NSURL *instagramURL = [NSURL URLWithString:@"instagram://app"]; if([[UIApplication sharedApplication] canOpenURL:instagramURL]) //check for App is install or not { UIImage *instaImage = mImg.image; NSData *imageData = UIImagePNGRepresentation(instaImage); //convert image into .png format. NSLog(@"imageData.leeee===%d", imageData.length); if (imageData.length<=100) { [self.view makeToast:localize(@"instaErr2")