instagram

Displaying 30 Instagram Images of certain tag of certain userID

大城市里の小女人 提交于 2019-12-09 19:31:08
问题 I have an Instagram API call that requests images tagged with CrookedSpaces, when those images return I am filtering the data making sure that only images from a certain user (using their userID), the code follows: $(function() { $.ajax({ type: "GET", dataType: "jsonp", cache: false, url: "https://api.instagram.com/v1/tags/crookedspaces/media/recent/?count=100&access_token=TOKEN", success: function(data) { for (var i = 0; i < 31; i++) { var igUID = data.data[i].user.id; if(igUID === "USER ID"

Instagram Explorer SearchBar and TableView

旧时模样 提交于 2019-12-09 18:19:59
问题 I have a question for several days about UISearchBar. I don’t understand how the search bar of Instagram Explorer page works, for example : http://imgur.com/40I38mn I mean, at the beginning the ViewController shows the searchBar, and below a view(tableview?) which has nothing to do with it. And when the user begins a search by touching the search bar, the right tableview with data appears. In reality, are there multiple TableView ? UISearchBar calls an another view ? And… simple UISearchBar

Instagram API how to get user ID?

血红的双手。 提交于 2019-12-09 17:14:24
问题 How can I get the user ID with the user name with instagram API without user authentication? If I try users/search, it returns multiple research results, so how can I be sure that I get the result of exact user name only? For example, following requests return multiple users having their usernames similiar to aliciakeys , I want to get only the data of the user with exact user name. https://api.instagram.com/v1/users/search?q=aliciakeys&access_token=[your token] 回答1: If you know that the

Retrieving “images” from a JSON string retrived from Instagram API

喜你入骨 提交于 2019-12-09 13:55:07
问题 Using C# and Visual Studio 2010 (Windows Form Project), InstaSharp and Newtonsoft.Json libraries. I want to get the image url from the JSON string returned to me by the Endpoint Instagram API when I request for a particular hashtag. I can so far retrive the JSON string. I am trying to use Newtonsoft.Json to deserialize the object using the examples, but I probably dont understand the JSON string representation of the object properly. Below is a simplified sample response I get from the api

Obtaining Instagram Access Token

∥☆過路亽.° 提交于 2019-12-09 12:43:15
问题 We have a client who has a simple Instagram feature on the site to pull photos by a certain tag. They just noticed it isn't working. Getting an error - invalid access token. I guess since the 1st because of the updates. We didn't used to need an access token since we're not doing anything with users - just tags. Now it looks like we need one and the documentation makes zero sense on how to obtain one. And it seems like they're not accepting most apps. The app is in sandbox mode too. So I'm

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

XMLHttpRequest cannot load for instagram like

谁说我不能喝 提交于 2019-12-08 19:51:37
I want to call this link for the like on instagram, I am using following code but it is not working. Following error comes, please help me how I call this url from local host and server also. var likeurl = "https://api.instagram.com/v1/media/" + idslist[1] + "/likes?ACCESS_TOKEN=" + accesstoken; Nextin_downloadData(likeurl); $.ajax({ url: likeurl, type: 'POST', data: { }, success: function (result) { alert("out" + result); }, error: function () { alert("error"); } }); Error : XMLHttpRequest cannot load https://api.instagram.com/v1/media/714346267865083830_540073674/likes? ACCESS_TOKEN

Moving selected images using ajax in php

独自空忆成欢 提交于 2019-12-08 18:54:30
I am using an API (php) provided by Instagram to import user's images to my webpage. It is working perfectly. But I want to add one functionality to it of moving selected images to user's folder (or anywhere). I thought it doing the post method but as the OAuth code is working only once this will not help. So I decided to do it with ajax... but still no success... Please help me solve this. I am pasting my index.php and success.php below. index.php <?php require 'instagram.class.php'; // initialize class $instagram = new Instagram(array( 'apiKey' => 'YOUR_API_KEY', 'apiSecret' => 'YOUR_API

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