instagram

“Redirect URI doesnot match registered redirect URI” in instagram integration in IOS app

牧云@^-^@ 提交于 2019-12-03 10:34:53
问题 I am working on iPad app, and I need to integrate Instagram. I found a sample that works fine. But coming to my app I registered as new user in instagram developer account. Though I am following the steps as said in Instagram API docs, I am getting an error "Redirect URI doesnot match registered redirect URI". Can someone guide me on how to generate Redirect URI? Here is what I did in Instagram. And in my simulator I am getting this error : 回答1: Use REDIRECT URI :

How to use Instagram graphql?

若如初见. 提交于 2019-12-03 09:44:54
I'm using the following query https://www.instagram.com/graphql/query/?query_id=17851374694183129&id={acountId}&first=1000&after={cursor} to get an user followers. The information I need is the followed_by_count index that's only available per user on https://www.instagram.com/{username}?__a=1 Is there a query_id that includes the followed_by_count in the result? This query_id code https://www.instagram.com/graphql/query/?query_id=17851374694183129&id=<user_id>&first=1000&after=<end_cursor> is designed to return ONLY media data it does NOT include user profile data. The simplest solution is to

Where I can find location id of location when using Instagram API

[亡魂溺海] 提交于 2019-12-03 09:38:15
问题 I want to use Instagram API to get a list of recent media objects from a given location. I am using this URL. Now I can't do that, because I don't know where I should take location id? 回答1: 1. First use facebook graph API to search locations and get facebook_places_id . Here is an example: https://graph.facebook.com/search?q=&type=place&center=37.77493,-122.419415&distance=5000&access_token=ACCESS-TOKEN&expires_in=5184000 2. Get the facebook_places_id and use this instagram location search

Open Instagram app from another android app and send an Image with a Caption

北城以北 提交于 2019-12-03 09:23:33
What I basically looking for is to open Instagram app from another app and send an Image with a caption. There is some useful documentation to do this in iOS. ( iPhone-hooks ) Do Instagram support to perform custom actions in Android like in iOS as described in iPhone-hooks ? Below is the current code used in my application to perform this task partially. private void sendImageToIntagram(Activity activity) { Intent intent = activity.getPackageManager().getLaunchIntentForPackage("com.instagram.android"); if (intent != null) { Intent shareIntent = new Intent(); shareIntent.setAction(Intent

failed to open stream: HTTP request failed! HTTP/1.1 400 BAD REQUEST in

匿名 (未验证) 提交于 2019-12-03 09:06:55
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: My code: function jsonCall() { global $_SESSION; global $smarty; $client_id = "XXXXXXXX"; $next_max_tag_id = 1349756086082; if(isset($_POST['nextSubmit'])) { $next_max_tag_id = $_POST['next_max_tag_id']; } $url ='https://api.instagram.com/v1/tags/' . $_SESSION['zoekterm'] . '/media/recent?access_token=145408254.f59def8.448ef83c8fa740aa9744a0c47766a857&max_tag_id=' . $next_max_tag_id; $json = file_get_contents($url); $json_output = json_decode($json,true); file_put_contents('json/instagram.json',$json); $imagesErbuiten = array(); foreach(

oAuth Instagram login

匿名 (未验证) 提交于 2019-12-03 08:48:34
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I am trying to get access token from Instagram using oAuth 2, to use it in scopes. I couldn't understand how should I configure "redirect_uri" (tried a lot of combinations) if I use it in native app, it means I don't need any websites to have redirected, I need redirect to app itself, after logged in. (Maybe I explained something not correctly, because don't understand how redirect_uri works in native apps) In AppDelegate.swift added: func application ( app : UIApplication , openURL url : NSURL , options : [ String : AnyObject ]) -

Uploading photos to instagram, using a script

南笙酒味 提交于 2019-12-03 07:46:17
问题 Is it possible to upload photos from a webpage to Instagram, if so how do you do it? I am wondering how to do this, so I can have a website where people can vote on their favourite photo and the one with most votes will be posted each day! 回答1: You can use this API: https://github.com/mgp25/Instagram-API And here is an example how to upload photo to Instagram: <?php require '../src/Instagram.php'; /////// CONFIG /////// $username = ''; $password = ''; $debug = false; $photo = ''; // path to

Share text with Images on Instagram in ios

大憨熊 提交于 2019-12-03 07:42:04
问题 In my App I sharing an image on Instagram. It is working well in my app. I am using the following code. @property (nonatomic, retain) UIDocumentInteractionController *dic; CGRect rect = CGRectMake(0 ,0 , 0, 0); UIGraphicsBeginImageContextWithOptions(self.view.bounds.size, self.view.opaque, 0.0); [self.view.layer renderInContext:UIGraphicsGetCurrentContext()]; UIGraphicsEndImageContext(); NSString *jpgPath = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/test.igo"]; NSURL

Is there still a way to fetch instagram feed without using access token now (06/2016)?

独自空忆成欢 提交于 2019-12-03 05:11:41
问题 I have an issue that my Instagram API access token keeps expiring frequently and I red the document and understood that although the token wouldn't expire generally, Instagram may decide to expire a token any time for any security reason or whatever reasons. I know that when it expires, I need to set up an authentication process and request for a new token and all those of things. But the problem is that my app is just retrieving my own feeds to show on my own website, once the token expires

Instagram/feed API media URL shows 'URL signature expired'

不羁岁月 提交于 2019-12-03 04:36:28
I am using Instagram feed API to show my Instagram posts on my Website. But some video URL shows ' URL signature expired '. Any solution for me ? Jordi Instagram has added URL signatures to their media URLs. You can easily remove the URL signature using this regular expression: "vp.*/.{32}/.{8}/" For example in PHP: preg_replace('/vp.*\/.{32}\/.{8}\//', '', $mediaUrl) On the other hand, I don't think that removing the URL signature is the best solution (is just a quick fix). The good one is to call again the Instagram api in order to get the new URL. UPDATE It seems that Instagram is currently