instagram-api

How to extract cookie from Instagram API

瘦欲@ 提交于 2019-12-24 03:27:08
问题 I have this task to save user's strories, so I'm diiging into Instagram API. For now I know that it's unofficial to grab user's story, so we are using https://i.instagram.com/api/v1/feed/reels_tray/ That request needs a cookie with ds_user_id and sessionId inside. I'm trying to grab it from Postman, but all I've managed to do is to get the access token to official API. What request should I perform to store that ds_user_id and sessionId ? UPD Managed to get it through browser, but not through

How to find Instagram developer support?

女生的网名这么多〃 提交于 2019-12-23 20:23:50
问题 I am thinking on a project that uses insta APIs but when I signup for instagramdeveloper account I have some kinda issue with it. I cannot find a button to create new Client and when I hit Manage client button this is what I got: when I hit Registration Disabled button Nothing Happens. Is that mean am I ban from an Instagram developer account? please note I haven't created any kind of Client ID since I created an Instagram developer account. OR was this some kinda bug? How can I report my

Check if an Instagram account is public or private

孤街浪徒 提交于 2019-12-23 11:53:30
问题 I have looked this particular question: Find out whether a user has a public or private profile on instagram using API?, but I don't see a return bool value target_user_is_private as mentioned in the above question. I also don't see any other way to check; none of the endpoints on https://www.instagram.com/developer/endpoints/relationships/ seems to tell me if an account if private or not. Is there any way to check? 回答1: This endpoint returns target_user_is_private https://api.instagram.com

Failed to load resource: net::ERR_CONNECTION_REFUSED for only selective images from instagram API

我与影子孤独终老i 提交于 2019-12-23 09:35:10
问题 I am currently making a GET request to the instagram API to get a bunch of photos with a particular tag, and returning the JSON object I get in Rails back to the caller in JS, and setting the HTML with the img links and thumbnails etc. in the DOM. What is weird is that, after restarting my server, I get this error: Failed to load resource: net::ERR_CONNECTION_REFUSED for only some but not all of the photos which are returned by the instagram API. var formdata = {tag: "myflsadventure"}; $.ajax

Grabbing tagged instagram photos in real time

懵懂的女人 提交于 2019-12-23 07:49:53
问题 I'm trying to download photos posted with specific tag in real time. I found real time api pretty useless so I'm using long polling strategy. Below is pseudocode with comments of sublte bugs in it newMediaCount = getMediaCount(); delta = newMediaCount - mediaCount; if (delta > 0) { // if mediaCount changed by now, realDelta > delta, so realDelta - delta photos won't be grabbed and on next poll if mediaCount didn't change again realDelta - delta would be duplicated else ... // if photo posted

Instagram API cant find info on Private Profiles

浪子不回头ぞ 提交于 2019-12-23 07:06:02
问题 My question is very similar to this one. The Instagram app that I am working on is in SandBox Mode In my app I first get public_content permission to get the necessary info I need. But when I am trying to get the info of a private account that the authenticated user follows, I get an APINotAllowedError error This is the API endpoint that I am trying to access: https://api.instagram.com/v1/users/PRIVATE_PROFILE/media/recent/?access_token=TOKEN_OF_USER_THAT_FOLLOWS_PRIVATE_PROFILE Both of the

Instagram API cant find info on Private Profiles

笑着哭i 提交于 2019-12-23 07:04:03
问题 My question is very similar to this one. The Instagram app that I am working on is in SandBox Mode In my app I first get public_content permission to get the necessary info I need. But when I am trying to get the info of a private account that the authenticated user follows, I get an APINotAllowedError error This is the API endpoint that I am trying to access: https://api.instagram.com/v1/users/PRIVATE_PROFILE/media/recent/?access_token=TOKEN_OF_USER_THAT_FOLLOWS_PRIVATE_PROFILE Both of the

How to add facebook authentication to login page when using instagram API to authenticate users?

走远了吗. 提交于 2019-12-23 07:01:19
问题 I use instagram api in my app. Per documentation I redirect users to api.instagram.com/oauth/authorize to let the user login with their instagram account. The page the user sees is : This works fine but many instagram users use Facebook to login to their instagram. How can I allow users to sign in to instagram using facebook for authenticating users in my app? That sounded very convoluted when I read it :) I basically want users to see following: update: This only happens when loading auth

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

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