instagram

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

喜欢而已 提交于 2019-12-03 21:46:42
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 call tags/tag-name/media/recent from their documentation. source here { "data": [{ "type": "image",

Instagram API from client side

[亡魂溺海] 提交于 2019-12-03 21:13:50
问题 I'm trying to call Instagram API endpoints from the client side. I can only access GET-based endpoints using JSONP, which Instagram recommends. For those requiring POST or DELETE, it seems CORS isn't enabled, so these types of ajax calls fail. Is there any method or approach I can use to access these APIs from the client side? 回答1: Not possible to make POST calls directly from client side, You have to setup a proxy server that makes the Instagram API calls for POST and DELETE, and your client

What are the different image size formats available via Instagram API

梦想的初衷 提交于 2019-12-03 20:57:59
I noticed that in the Instagram API when you get an image back, it looks something like this: http://distilleryimage6.s3.amazonaws.com/a0efb5b418b711e391bd22000a1fbf1d_7.jpg And by changing the _7 to say _5 or _6 you can get different sizes. But I have also noticed that some of the other sizes are NOT always available. Does anyone have info on what sizes are available or can you point me to a resource in the Instagram API that goes into more detail on image sizes supported via the API? Thanks. The Instagram API should always return images in three sizes. All of which are square with side

Is it possible to send a caption/annotation to Instagram via its custom URL scheme from Mobile Safari?

Deadly 提交于 2019-12-03 20:46:50
I'd like to allow users of my mobile website to upload a photo, enter a tag and caption in Mobile Safari, then open Instagram with that image, tag and caption pre-populated. Based on this documentation, it's possible to pre-populate the image and tag, but the only mention of pre-populating a caption is "To include a pre-filled caption with your photo, you can set the annotation property on the document interaction request to an NSDictionary containing an NSString under the key "InstagramCaption." Can I use a custom URL, something like: instagram://media?id=999&tag?name=sweet_tag

https://api.instagram.com/oauth/authorize api login error

為{幸葍}努か 提交于 2019-12-03 18:40:30
问题 Instagram login API is in use. After approving the app, the following error occurs. The user denied your request. It worked well until yesterday. What's the problem? 回答1: The value of the authorization buttons is different in other languages which probably causes the issue, I guess an issue on Instagram itself. After doing some research I found out you can change the language of the authorization screen using the following parameter: &hl=en Did some test with my apps and it's solving the

Share photo to Instagram from React-Native app built with Expo SDK

谁说胖子不能爱 提交于 2019-12-03 17:11:11
I want my react-native app to share a photo with Instagram. I know it's possible when writing in native code to open up Instagram's filter screen with a specified photo. A restriction is that I'm using the Expo SDK, which doesn't allow 'npm link' for native dependencies. When this function is called, it will open Instagram: _handlePress = () => { Linking.openURL('instagram://app'); } This is the Button: <Button onPress={this._handlePress} title='Open Instagram' /> The image is stored in the state: state = { image: null, uploading: false } I can display the image in an Image tag just fine:

Instagram API for Non-Business accounts

依然范特西╮ 提交于 2019-12-03 16:32:22
问题 I want to make a app for Non-Bussiness Instagram accounts. My only problem is that when I access the old Instagram API (https://www.instagram.com/developer/) they tell me to use the new Graph API, but when I go to the Instagram Graph API reference, they says: If you are building apps for Instagram Non-Business Accounts, please use the Instagram Platform API instead. (Note: The old Instagram API will be deprecated soon: https://developers.facebook.com/blog/post/2018/01/30/instagram-graph-api

Instagram graph api media posts between dates

走远了吗. 提交于 2019-12-03 16:29:25
I'm trying to retrieve last month's media posts from an Instagram Business profile I manage, by using 'since' and 'until' , but it doesn't seem to work properly as the API returns posts which are out of the time range I selected. I'm using the following string to call the API: business_profile_id/media?fields=timestamp&since=2018-04-01&until=2018-04-30 while the Python snippet would be this (using the same init script from the facebook-python-sdk) import facebook graph = facebook.GraphAPI(access_token) profile = graph.get_object(user) posts = graph.get_connections(profile['id'], 'media?fields

How to share text/photos/videos into Instagram in ios

梦想与她 提交于 2019-12-03 14:58:29
I want to share text/photos/videos into Instagram. I am searching this for a long time but i didn't get any proper documentation. If anybody knows about share on instagram please let me know. Werewolve Instagram Media Endpoints At this time, uploading via the API is not possible. We made a conscious choice not to add this for the following reasons: Instagram is about your life on the go – we hope to encourage photos from within the app. However, in the future we may give whitelist access to individual apps on a case by case basis. We want to fight spam & low quality photos. Once we allow

How to Extract Instagram Data

折月煮酒 提交于 2019-12-03 14:55:01
问题 I'm attempting to construct a Microsoft Access database of Instagram accounts, and want to extract the following data, among other things: Account name Number of followers Number of people followed Number of posts (and their dates) Number of likes of picture Number of comments on picture I don't have any trouble constructing databases but want to know if there is an easier/faster way to get all the information without having to look through each individual picture/account and pick out the