instagram-api

Using min_id and max_id with (new) instagram users endpoint

十年热恋 提交于 2019-12-09 21:33:50
问题 In their documentation for their new API, Instagram says this: Relevant points: MIN_ID: Return media later than this min_id MAX_ID: Return media earlier than this max_id I want to search for media that a user posted within a certain date range. Is that possible using min_id and max_id ? Or did they completely remove the ability to filter by timestamp from this new api? 来源: https://stackoverflow.com/questions/37777770/using-min-id-and-max-id-with-new-instagram-users-endpoint

Possible to pull Insights data via Instagram API?

那年仲夏 提交于 2019-12-09 06:49:30
问题 Instagram recently allowed accounts to link to a Facebook Business Page. They also added a new 'Insights' section that gives metrics like: Impressions Reach Top Posts Followers by Age I can't find a way to pull these new numbers in via the API. Is there a separate Analytics API that I need to apply for? 回答1: Quick update for this question: the Instagram Platform API now offers an endpoint for insights. Endpoint GET graph.facebook.com /{media_id}/insights?metric={engagement|impressions|reach

Passing caption to Instagram with Android Intent Stopped Working?

折月煮酒 提交于 2019-12-09 06:07:41
问题 I used to send an image to Instagram on Android from my app using this code : shareIntent.setPackage("com.instagram.android"); shareIntent.putExtra(Intent.EXTRA_TEXT, caption); shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(tempFile)); With the latest version of Instagram the caption isn't working anymore. Does anyone know if this is a bug or perhaps another extra is being used. Thanks. 回答1: Looks like this feature has been removed... http://developers.instagram.com/post/125972775561

Instagram subscription - Unable to reach callback URL [duplicate]

两盒软妹~` 提交于 2019-12-09 01:17:08
问题 This question already has answers here : Instagram ruby gem - Unable to reach callback URL (3 answers) Closed 4 years ago . I am having problems when trying to make a subscription to Instagram. I have created a functional servlet which handles the POST and GET as indicated at the Instagram instructions. When trying it: curl -F 'client_id=XXXXXX' -F 'client_secret=YYYYYY' -F 'object=location' -F 'aspect=media' -F 'object_id=18945195' -F 'verify_token=12345' -F 'callback_url=http://54.77.253.34

Get instagram own/self feed with facebook graph api

时间秒杀一切 提交于 2019-12-08 18:13:33
问题 I'm quite new using instagram API/Graph API but I can't find answers to my questions. Since Instagram API is deprecated, now we have to deal with instagram/facebook graph API. I am aware of the new procedure (https://developers.facebook.com/docs/instagram-api/getting-started/ ) that consist of: Connect a Facebook Page to an Instagram Business Account. Register your app. Add the Facebook Login product. Add the Instagram API product. Test your app's settings with the Graph API Explorer. Submit

Is it possible to post comments on Instagram via API?

爱⌒轻易说出口 提交于 2019-12-08 17:43:21
问题 There is a POST method for to create comments, but it says the following: Create a comment on a media. Please email apidevelopers[at]instagram.com for access. See: http://instagram.com/developer/endpoints/comments/# So do I have to get whitelisted for to be able to post comments or is the access_token enough? 回答1: Yes it is possible to post comments on Instagram via API. You have to get whitelisted now, so you have to email. This was not the case before, you were able to use commenting in api

Accessing the username of all the followers of a user in Instagram using Scrapy or Instagram Python API

老子叫甜甜 提交于 2019-12-08 10:17:20
问题 How can I get the username of each of the followers of a user in instagram? In the json I can only have access to the number of the followers. Here is the URL for json processing I am using: "https://www.instagram.com/buzzfeed/?__a=1" pprint(json_response["user"]["followed_by"]["count"]) Here's the beginning of pprint(json_response["user"]) {u'biography': u"Hi, we're:q BuzzFeed dot com the website. Download our app:", u'blocked_by_viewer': False, u'connected_fb_page': None, u'country_block':

Why my Instagram API Permissions Decline with Policy Violation Red Tags for Social Media Marketing Business Model [closed]

风流意气都作罢 提交于 2019-12-08 09:40:03
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 months ago . We are developing web app with business model of Social Media Marketing, our app let people who consider them self as influencers, specifically instagram influencers can join us and share their own portfolio about working with brand as endorsement project which they share on their instagram account, and some

Get photos and likes with php via Instagram API

我怕爱的太早我们不能终老 提交于 2019-12-08 09:13:30
问题 While using an Instagram client_id API request like here: https://api.instagram.com/v1/users/{user-id}/media/recent/?client_id=YOUR-CLIENT_ID I can actually SEE both the image url and like-count in the JSON response, but can't figure out how to extract both. I can only seem to extract the image itself like so: <?php if (!empty($_GET['user_id'])){ $user_id = ($_GET['user_id']); // connect to the instagram API $instagram_url = 'https://api.instagram.com/v1/users/' . $user_id . '/media/recent/

How to get user's media through Instagram Api?

混江龙づ霸主 提交于 2019-12-08 06:08:58
问题 I can see my media using https://api.instagram.com/v1/users/self/media/recent/?access_token=**MY_ACCESS-TOKEN** I want to get user's media, so I use this https://api.instagram.com/v1/users/**ID_USER**/media/recent/?access_token=**MY_ACCESS_TOKEN** I get an error, because his account is private {"meta":{"error_type":"APINotAllowedError","code":400,"error_message":"you cannot view this resource"}} But I follow him, so I should see his media. What should I do ? 回答1: the following link works for