instagram-api

Adding a query parameter to the Instagram auth redirect_uri doesn't work?

狂风中的少年 提交于 2019-12-01 14:24:44
问题 Steps to reproduce Register a redirect_uri in the client: http://example.com/publisher/auth Direct a user to the /oauth/authorize endpoint with the redirect_uri including a query parameter: https://api.instagram.com/oauth/authorize/?client_id=xxx&redirect_uri=http%3A%2F%2Fexample.com%2Fpublisher%2Fauth%3FinviteId%3D00001000-cf33-11e4-9f26-8789dd0b3e01&response_type=code&scope=basic&type=web_server For reference, those query parameters are: client_id=xxx redirect_uri=http%3A%2F%2Fexample.com

Getting Instagram subscription JSON data from post in PHP

笑着哭i 提交于 2019-12-01 11:18:06
This whole process of subscriptions for the Instagram API seems to be less than straight forward. I have some code set up to receive the post data sent when Instagram hits me with a notification of a post from one of my subscriptions. However when I try to view the data, the raw JSON, it posts I can't get at it. If I print_r or var_dump I just get the number 1. See my code for accessing the data: // Catches realtime updates from Instagram if ($_SERVER['REQUEST_METHOD']==='POST') { // Retrieves the POST data from Instagram $update = file_get_contents('php://input'); $data = json_decode($update)

Getting Instagram subscription JSON data from post in PHP

时光毁灭记忆、已成空白 提交于 2019-12-01 08:12:44
问题 This whole process of subscriptions for the Instagram API seems to be less than straight forward. I have some code set up to receive the post data sent when Instagram hits me with a notification of a post from one of my subscriptions. However when I try to view the data, the raw JSON, it posts I can't get at it. If I print_r or var_dump I just get the number 1. See my code for accessing the data: // Catches realtime updates from Instagram if ($_SERVER['REQUEST_METHOD']==='POST') { //

Instagram subscription - Unable to reach callback URL [duplicate]

折月煮酒 提交于 2019-12-01 00:22:20
This question already has an answer here: Instagram ruby gem - Unable to reach callback URL 3 answers 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/instagram/InstagramServlet' https://api.instagram.com/v1/subscriptions it returns {"meta":{"error_type":

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

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];/

Instagram API Matching code was not found or was already used

牧云@^-^@ 提交于 2019-11-30 19:13:30
I am seeing this error from my live server using the Instagram API. { "Error":true, "message":"Matching code was not found or was already used." } I have read a few suggestion on here to clear cache but that isn't fixing the issue. I am also unable to submit a support ticket directly on the Instagram site as I am receiving an error message while attempting to submit a ticket. There are a bunch of developers complaining about the same issue at https://news.ycombinator.com/item?id=13178789 . I don't think unchecking "Disable implicit OAuth" fixes the issue as I have already tried that and it

Instagram api error bad request ios

 ̄綄美尐妖づ 提交于 2019-11-30 17:08:17
问题 Hi I am having an issue with Instagram while performing authentication process. It was working fine few weeks ago, nothing changed in the code. The issue now facing is that after a login process of Instagram, safari display an error "Bad request 400" and nothing more then that. 回答1: Recently I had the same problem with the Instagram api. Everything was working fine and suddenly 400 bad request - You must provide a client_id. I debugged the OAuth 2.0 flow and after extensive research realized

Will be Instagram login totally deprecated?

点点圈 提交于 2019-11-30 12:44:43
问题 Instagram announced the Instagram Platform API deprecation : "To continuously improve Instagram users' privacy and security, we are accelerating the deprecation of Instagram API Platform" Their documentation and changelog says to refer to new Instagram Graph API . Is it clear that many, almost every old endpoints are now deprecated, but nothing is said about login functionality. The "new Instagram Graph API" seems to refer only to business oriented behaviour, so my question is: are they