instagram

instagram api - cryptic response; not sure if working and unable to test omniauth with this

不羁的心 提交于 2019-12-22 18:24:20
问题 I am working on an rails app that has as the requirement logging in with omniuth to instagram. This would be my first time using instagrams OAuth endpoint and it is unclear whether it is working (and not clear to project manager either). I'm using their cURL implementation with the following (will reset it in future) but getting "No matching code found" error which would seem to be the logical first setp. curl \-F 'client_id=4658fa17d45244c88dd13c73949a57d7' \ -F 'client_secret

Where do I find the Instagram media ID of a image (having access token and following the image owner)?

我的梦境 提交于 2019-12-22 15:36:14
问题 I have image page url of instagram photo. Now i want to send this image page url to instagram api and obtain media id and owner username. The following api call works well if the image is public but if the image is private it will fail and give me No Media Match . I am already following the image owner and have access token to user instagram api. So how i can get media id and image owner name having the image page url using php or javascript ? is there any other api i need to user that deals

Instagram API /media/search maximum count parameter?

亡梦爱人 提交于 2019-12-22 10:31:40
问题 When using Python to make a GET request to the Instagram API, passing the required variables as shown below photos = api.media_search(lat=latitude, lng=longitude, distance=distance, count=count) I have attempted to set the count parameter to over 100, but the API returns a maximum of 100 results. Is this a limitation set for the API or am I doing something wrong? 回答1: The Instagram API documentation says there is a max value for count for each endpoint, from the docs: On views where

Getting “APINotAllowedError” when requesting medias on a private profil, even with all scopes allowed

拟墨画扇 提交于 2019-12-22 09:49:59
问题 I'm using the PHP Instagram API https://github.com/cosenary/Instagram-PHP-API I would like to retrieve the feed of a user, even if he has a private profil. First, I'm generating the url with all the scopes granted $instagram->getLoginUrl(array('basic','likes', 'relationships', 'comments')); Then, once the user approved the application, I try to retrieve his feed // Grab OAuth callback code $code = $_GET['code']; $data = $instagram->getOAuthToken($code); // Set token $instagram->setAccessToken

New Instagram API - Minimum timestamp disappears

半世苍凉 提交于 2019-12-22 08:04:07
问题 I am planning to use the /media/search endpoint in the Instagram API. For our purposes we would need to use MIN_TIMESTAMP to get publications written after a certain timestamp. However, I have noticed that this parameter is available in the deprecated API, and it is not available in the new API: This is the endpoint in the deprecated API: https://www.instagram.com/developer/deprecated/endpoints/media/#get_media_search This is the endpoint in the new API: https://www.instagram.com/developer

Open Instagram from Android Browser

心不动则不痛 提交于 2019-12-22 07:19:18
问题 Intent, hooks, API, integration, dozen of cryptic javascripts, xml schemas, URL interpreters, helpers, frameworks... It's 3 days that i'm reading blogs, SDK, tutorials to achive a very simple goal: open Instagram by clicking an URL in the Android browser. I find it a bit incredible that i needed 5 minutes to make it on iOS. I don't even know what code i should share since i don't even succeded in having an error... at least it would be something! To make it short i have an Android phone. I

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

instagram.bind.InstagramClientError: Unable to parse response, not valid JSON

落花浮王杯 提交于 2019-12-22 05:12:16
问题 Made myself a simple Instagram client to make authenticated requests to their API. However, running it keeps throwing the following error Traceback (most recent call last): File "request-ig-data.py", line 24, in <module> recent_media = api.user_recent_media(user_id=user_id, count=50) File "/lib/python2.7/site-packages/instagram/bind.py", line 151, in _call return method.execute() File "/lib/python2.7/site-packages/instagram/bind.py", line 143, in execute content, next = self._do_api_request

How do I get the most popular tags?

不羁岁月 提交于 2019-12-22 04:18:14
问题 How do I get the most popular tags from Instagram API? I searched the API, but didn't find a way to retrieve this data. This website gets it, but how? 回答1: The question is old, but for others also struggling the same problem, as Sebastien mentioned there is no such query. However I have been recently needing same functionality and came down idea that small traversal pretty much solves the problem. Instagram doesn't respond you a list of tags starting with just one letter. Example: https://api

Instagram “You Cannot Like this Media”

亡梦爱人 提交于 2019-12-22 04:04:51
问题 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