instagram-api

Instagram API limit reduced to 200 from 5000 [duplicate]

送分小仙女□ 提交于 2019-12-02 16:07:21
This question already has an answer here: Did Instagram change API rate limits on Mar 30, 2018? 5 answers 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 speed of light right now. Migrate your apps to FB-instagram-API to keep your business or apps running Scott S Yes, from

Where do I find the Instagram media ID of a image

大憨熊 提交于 2019-12-02 14:03:31
I'm am looking for the MediaID of an Instagram image which has been uploaded. It should look like 1234567894561231236_33215652 I have found out the last set of integers are the usersID For example: this is the link for the image directly, however I see no mediaID in the correct format? http://distilleryimage11.ak.instagram.com/d33aafc8b55d11e2a66b22000a9f09de_7.jpg while this is the link http://instagram.com/p/Y7GF-5vftL/ I don't wish to use the API as all I need the MediaID from a selected image. Anselm So the most up-voted "Better Way" is a little deprecated so here is my edit and other

Get images within same size in php

血红的双手。 提交于 2019-12-02 13:04:50
I created a application for get Instagram tags images as a output. I can load the images. But I need to get images within same size. Anyone help me to solve this? Here is the code... <?php function scrape_insta_hash($tag) { $insta_source = file_get_contents('https://www.instagram.com/explore/tags/'.$tag.'/'); $shards = explode('window._sharedData = ', $insta_source); $insta_json = explode(';</script>', $shards[1]); $insta_array = json_decode($insta_json[0], TRUE); return $insta_array; } $tag = 'savesripada'; $results_array = scrape_insta_hash($tag); $limit = 15; $image_array= array(); for ($i

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

痴心易碎 提交于 2019-12-02 13:01:06
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+"&redirect_uri="+redirect_uri+"&score=public_content+likes+comments+follower_list+relationships&response

fetching images from a public Instagram hashtag

牧云@^-^@ 提交于 2019-12-02 09:49:17
I am developing a website for a couple that are getting married and they created #somehashtag where other people can post images to. I want to fetch all images from that hashtag and post it on the site. Nothing works. Ideally I want to use php, but javascript/jquery would do. What have you tried? The answer is probably everything InstafeedJS doesn't work, nothing shows Old php scripts, even from 2015 posted on SO or elsewhere does not work, nothing works. Php libraries are old and unsopported, even the official Ruby and Python libraries! Endpoints, require ACCESS-TOKEN and that's well, a very

Access token is not authorized with this scope relationship

隐身守侯 提交于 2019-12-02 08:57:53
问题 I am appending scope to auth url like this >>> scope=likes+comments+relationships+basic"; But while logging in, it is not asking user for relationship permission, only showing "this app can acess your photos". Inside the application whenever i am follwoing or unfollwing any user by hitting String url="https://api.instagram.com/v1/users/"+userid+"/relationship/?access_token="+MainSingleTon.accesstoken; // key and value pair List<NameValuePair> nameValuePair = new ArrayList<NameValuePair>(1);

Create NSURL using AssetPath

ⅰ亾dé卋堺 提交于 2019-12-02 05:23: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]) { [[UIApplication sharedApplication] openURL:instagramURL]; } Vizllx This is the way how you should

Access token is not authorized with this scope relationship

牧云@^-^@ 提交于 2019-12-02 04:28:33
I am appending scope to auth url like this >>> scope=likes+comments+relationships+basic"; But while logging in, it is not asking user for relationship permission, only showing "this app can acess your photos". Inside the application whenever i am follwoing or unfollwing any user by hitting String url="https://api.instagram.com/v1/users/"+userid+"/relationship/?access_token="+MainSingleTon.accesstoken; // key and value pair List<NameValuePair> nameValuePair = new ArrayList<NameValuePair>(1); nameValuePair.add(new BasicNameValuePair("action","unfollow")); JSONObject json=jParser

Check if a user is banned or account doesn't actually exist. Instagram, c#

这一生的挚爱 提交于 2019-12-02 01:39:39
问题 I am not using a API but I have been looking into the API like a mad man trying to find some relevance to it. I am opening the website and downloading all of it at the moment to see if it contains "Page Not Found" but banned accounts also say the same thing. So is there any known way to distinguish this? 回答1: Make a call to get the user /users/*user-id* and compare the result for non-existent users. http://instagram.com/developer/endpoints/users/#get_users You could also use the users search

Share video and sticker Image to Instagram Story on Android

风格不统一 提交于 2019-12-01 17:35: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(backgroundPath)); Uri stickerAssetUri = Uri.fromFile(new File(stickerPath)); // Instantiate implicit intent with