instagram-api

null.jpg being returned for carousel posts via Instagram API

只谈情不闲聊 提交于 2019-11-28 21:37:17
It looks like the Instagram API does not support the new Instagram carousel feature. The images results only contain https://instagramstatic-a.akamaihd.net/null.jpg and not the cover image. Any ideas how to retrieve these via the API? UPDATE: Since last Monday (April 24) we are receiving posts of type "carousel" containing the property "carousel_media" with all the carousel images. Response example: https://jsonformatter.org/89e2fd We have the same problem from yesterday. We have added a workaround to the code to avoid problems, we will discard this posts until Instagram fixes the problem. If

Instagram captcha error on new app creation

∥☆過路亽.° 提交于 2019-11-28 20:36:59
问题 When I try to create an instagram client (developer side), I'm always getting the same error: Captcha invalid, please try again Submission error: please fill out all required fields. All fields are correctly set and captcha is good. (I tried many times, but always same error) Someone have a solution for me? 回答1: If you look at the console, we can see there is an error related to "Content Security Policy" which avoid loading google captcha script : Based on this answer there is no easy way to

Instagram /v1/tags/{tag-name}/media/recent endpoint doesn't return min_tag_id in pagination block

情到浓时终转凉″ 提交于 2019-11-28 18:23:22
According to https://www.instagram.com/developer/endpoints/tags/ , we used to get the min_tag_id in the pagination part of the https://api.instagram.com/v1/tags/tag-name/media/recent?access_token=ACCESS-TOKEN response which we then used in the request to poll for newer posts. As of this morning, we saw that Instagram changed the form of the pagination response. It now looks something like: "pagination": { "next_max_tag_id": "AQBy529IMOAlOvp6EI5zrYZRZbUbNW2oGQjgdvfVi5I_7wTIKzqE2nfsSBHvCkPmWOMKV7kmNcMPErenGJsbDtIk013aPZ

Instagram oauth - error 400 matching code not found [closed]

◇◆丶佛笑我妖孽 提交于 2019-11-28 17:38:23
Problem started two days ago and affected about 70% of our users. This error is not depends on IP, libraries or server configuration. Instagram ignores my requests, Facebook do too. I've tried to reset client secret, change IP and region, so nothing helped. Other users reports same problem: https://news.ycombinator.com/item?id=13178789 Maybe someone from Instagram/Facebook read StackOverflow and can give some advise or clarify this situation? I'm seeing this consistently. After much investigation (a whole day), it appears that Instagram has changed their main API host for authentication from

Retrieving more than 150 Instagram comments

三世轮回 提交于 2019-11-28 15:02:57
问题 The Problem I would like to be able view all of the comments on any given piece of Instagram media, even if the media has over 150 comments. As of now, it is seemingly impossible to view more than the most recent 20 comments on a piece of media on the Instagram site and if one uses either the Instagram API Console or the Instagram API Libraries, the most recent 150 comments are returned with no options for pagination or viewing addition comments. What I Have Tried I first, of course, tried

New Instagram API - How do you request tagged media?

不打扰是莪最后的温柔 提交于 2019-11-28 11:24:30
This question is going to seem like a duplicate of all the previous ones around this issue, specifically this question PHP Instagram API - How to get MIN_TAG_ID and MAX_TAG_ID . But with the new API changes the previous answers no longer work. Goal I want to request media for a specific tag. The Documentation Instagrams documentation on getting tagged media specifies you need to have the public_content scope and that there are 4 available parameters; ACCESS_TOKEN , COUNT , MIN_TAG_ID , and MAX_TAG_ID . My API Request https://api.instagram.com/v1/tags/cats/media/recent?access_token=TOKEN&max

Instagram API /tags/{tag-name}/media/recent changed behaviour

試著忘記壹切 提交于 2019-11-28 06:52:08
I worked several times with this endpoint and it seems that since this week when I pass a max_id value an error is thrown, it says: { "meta": { "error_type": "APIInvalidParametersError", "code": 400, "error_message": "max_id must not be a media id." } } I have no idea where to find if api has changed behaviour or simply it's broken. Guys, do you have any idea? Another error that I've found is the order of returned Medias when I query this endpoint. Here's a sample data: #sample error [ Media: 1220853576116214570_1383882821 Media: 1220853572180739674_233961632 Media: 1220853571106323542

1080x1080 photos via Instagram API

北战南征 提交于 2019-11-28 05:22:09
http://www.theverge.com/2015/7/6/8899807/instagram-1080p-pictures-photo-upload The Verge recently made known the latest app versions of Instagram are uploading photos in 1080x1080 resolution. These photos can be easily sourced via HTML when browsing the site's source code. Can these be accessed via the official Instagram API? And if so, how? [Update] After Mar 23, 2018 I used Ekrem Gurdal's answer to make it work: The IG API gives you "link" attribute, e.g. https://www.instagram.com/p/BTduOwSAwN6/ Then you can append ?__a=1 to this e.g. https://www.instagram.com/p/BTduOwSAwN6/?__a=1 And you

Instagram API: The access_token provided is invalid

拜拜、爱过 提交于 2019-11-28 00:15:10
问题 I have registred a sandbox user. Now I am trying to use it, but I recieve "The access_token provided is invalid". Sample request: https://api.instagram.com/v1/users/searchq=abc&count=2&client_id=7b67cff1a7ab462881298434c08b5ab8 It was working in live mode, but I can't find why it isn't working in sandbox. 回答1: You need to check for requirements Scope for API you are using and if it's need and Authentications "Valid access Token". where also had some changes. basic - to read a user’s profile

Instagram real-time API gets very few updates

白昼怎懂夜的黑 提交于 2019-11-27 22:32:19
问题 I've been using instagram's real time push api (http://instagram.com/developer/realtime/) for a long time to get updates on a specific location. I use the highest possible value for "radius", which is 5000m . For the last 4 weeks, I have noticed that I received significantly less updates through the API (but not zero). Other applications seem to have the same issue, like http://now.jit.su/ . I also filed a bug report at instagram, which went unanswered. My questions are: - has anything