instagram

Share photo to Instagram from my iOS App [duplicate]

為{幸葍}努か 提交于 2019-12-01 00:09:13
This question already has an answer here: How to share an image on Instagram in iOS? 17 answers I have been searching a way to post photo to Instagram from a iOS app I am developing. But seeing some links , it seems to be they don't support write access using their API. So, Is it possible to share photo to Instagram from iOS by some API or Instagram API ? If possible can anybody please suggest me a tutorial or documentation to do that ? Their api says this... "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

Instagram access token to retrieve any user feed

萝らか妹 提交于 2019-11-30 23:25:40
Is it normal that I can get any users feed with the same access_token? Here are two examples. The first is from the test account, it is what I should have access to. And the second one is from the ImagineDragons's instagram feed. https://api.instagram.com/v1/users/510573486/media/recent?access_token=510573486.ab7d4b6.d8b155be5d1a47c78f72616b4d942e8d https://api.instagram.com/v1/users/20282699/media/recent?access_token=510573486.ab7d4b6.d8b155be5d1a47c78f72616b4d942e8d If so, why do I have to request an access_token in order to do the request? The token is required so the API cannot be accessed

KeyError: 'data' with Python Instagram API client

浪子不回头ぞ 提交于 2019-11-30 23:19:55
问题 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 on Sample app, I successfully authorized my app via instagram and tried this list of examples, but none of them worked. After my click the <h2> header and counter of API requests changes and I see Remaining API Calls = 486/500 . If I try to get

API rate limiting issue

青春壹個敷衍的年華 提交于 2019-11-30 22:22:02
I am always and constantly getting the following error when trying to follow a user via instagram although the 5000 request limit hasn't been exceeded. Why is this? {"meta":{"error_type":"APIError","code":400,"error_message":"Client request limit reached"}} While API request with access token is 5000 (any API call), certain API like follow, unfollow, like, comment are limited to 350 an hour. I had the same problem. In my case I sent post requets from server side (google app engine) and now I am sending post requests from client (with js) and it works well. It depends on your request. Instagram

Instagram API from client side

偶尔善良 提交于 2019-11-30 21:29:19
I'm trying to call Instagram API endpoints from the client side. I can only access GET-based endpoints using JSONP, which Instagram recommends . For those requiring POST or DELETE, it seems CORS isn't enabled, so these types of ajax calls fail. Is there any method or approach I can use to access these APIs from the client side? Not possible to make POST calls directly from client side, You have to setup a proxy server that makes the Instagram API calls for POST and DELETE, and your client side app can call the proxy server. I not understand your question, but i use the Instagram API in Client

Is it correct that the Instagram Location/Search endpoint does NOT support pagination?

心不动则不痛 提交于 2019-11-30 20:55:53
I have read several postings about the fact that the Instagram API returns only 20 results at a time. In many cases, people have suggested that all you need to do is to use the next URL which is returned in the pagination information. I would be fine with that, but the JSON returned by https://api.instagram.com/v1/locations/search ? does not appear to have any pagination information. I have seen a posting that says that /media/search does not support pagination. I just wanted to confirm that the same is true for /locations/search. Can anyone confirm? And if this is correct, does anyone have

ios - instagram login with new instagram graph api?

烂漫一生 提交于 2019-11-30 20:19:04
Instagram depreciates old Instagram Platform API. Graph API, extensively involved with facebook, is presented. But as far as I understand, it is not a replacement. I only plan to use instagram for login purposes, like facebook login, in my app. However, I cant find a way to implement that with new graph api. Is it possible? Note: I submitted a client with old platform api, but cant get a response for 2 weeks and counting. Any help appreciated. With new Instagram Graph API, there is no Instagram login, if you have a converted your Instagram account to business account and connected to a

Instagram InstagramCaption not working

纵然是瞬间 提交于 2019-11-30 20:07:39
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") duration:2.0 position:@"bottom"]; } else { NSFileManager *fileManager = [NSFileManager defaultManager];/

Ruby on Rails Multiple HTTP request at the same time?

半世苍凉 提交于 2019-11-30 19:45:40
I'm pulling multiple requests (its pulling one at a time), I was wondering if there's a way pull requests all at the same time if I have something like this: client = Instagram.client(:access_token => session[:access_token]) @user = client.user @recent_media_items = client.user_recent_media @lv = client.tag_recent_media('lv', options = {:count => 60}) @lv1 = client.tag_recent_media('lv1', options = {:count => 60}) @lv2 = client.tag_recent_media('lv2', options = {:count => 60}) @lv3 = client.tag_recent_media('lv3', options = {:count => 60}) Each lv makes a request to client . I was wondering if

Instagram authorization scope doesn't work

寵の児 提交于 2019-11-30 19:08:52
问题 There are some questions about setting scope for Instagram authorization API, but after spending the whole day, I still can't figure out what is wrong :( Here is my code: var url = string.Format("https://api.instagram.com/oauth/authorize/?client_id={0}&redirect_uri={1}&response_type=code&scope=likes+relationships", clientId, redirectUrl); return Redirect(url); I have added likes and relationships scopes to the URL. But, when user logs in, Instagram asks only for Basics and Follow/Unfollow