instagram

Display Instagram photos from different account to my webpage

谁说胖子不能爱 提交于 2019-11-27 03:40:26
问题 I am looking for the way to display not my instagram photos to my website page, but can't. Is it possible to do if i have just an account name of the instagram user (e.g. jamieoliver). My website is written on Wordpress. Need to display not my images 回答1: This URL format http://instagram.com/{instagram user name}/media will return a json file with the latest (20+/-) media files from that user. In the example of jamieoliver you can do http://instagram.com/jamieoliver/media You could process

Instagram API doesn’t find any liked posts for sandbox users

柔情痞子 提交于 2019-11-27 03:31:40
I’m using the Instagram API in sandbox mode. I’m trying to access a User’s liked posts from the Instagram API using their authenticated access token. This user is one of the accepted sandbox users for my app, and has liked some posts. If I call other endpoints with the same token, I get some data, but accessing /users/self/media/liked returns empty data. I’m using this URL: https://api.instagram.com/v1/users/self/media/liked?access_token={verified access token} and this is the result I’m receiving: {"pagination": {}, "meta": {"code": 200}, "data": []} Because it has a 200 return code, the

open viewcontroller from tab like in instagram camera page on IOS

假如想象 提交于 2019-11-27 03:06:48
问题 what i want is suppose to be simple, instagram middle tab on IOS opens the app's camera interface but not like the rest of the tabs but as an independet view controller and when you press cancel it gets back to the last tab youv'e been. any ideas?? 回答1: Edit: In order for this code to work you'll need to subclass UITabBarController and implement the UITabBarDelegate. So you'll add something like this: @interface MyTabsViewController : UITabBarController <UITabBarDelegate> In Interface Builder

Instagram Api User Logout

不羁岁月 提交于 2019-11-27 02:18:27
问题 How do I perform a logout from my application only (not from the instagram account - but yes from my app) ? I saw some people saying "refer the user to the instagram logout page" but it's not what I really need. 回答1: You could use an iframe in your own "logout" page. Something like: <iframe src="https://instagram.com/accounts/logout/" width="0" height="0" /> You probably want to redirect to the main page after the log out is performed. Hope that helped. 回答2: If Bhavik S's answer didn't work

How to share image in instagram?Swift

僤鯓⒐⒋嵵緔 提交于 2019-11-27 01:22:42
问题 Sorry for the question without a code.But i didn't find anywhere to look for. I want to share image with title in instagram? How can i do that? Any help would be great 回答1: class viewController: UIViewController, UIDocumentInteractionControllerDelegate { var yourImage: UIImage? var documentController: UIDocumentInteractionController! func shareToInstagram() { let instagramURL = NSURL(string: "instagram://app") if (UIApplication.sharedApplication().canOpenURL(instagramURL!)) { let imageData =

1080x1080 photos via Instagram API

我是研究僧i 提交于 2019-11-27 00:54:51
问题 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? 回答1: [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

jQuery Ajax Request inside Ajax Request

痴心易碎 提交于 2019-11-27 00:21:10
Is it possible to make an ajax request inside another ajax request? because I need some data from first ajax request to make the next ajax request. First I'm using Google Maps API to get LAT & LNG, after that I use that LAT & LNG to request Instagram API (search based location). Once again, is this possible, and if so how? $('input#search').click(function(e){ e.preventDefault(); var source=$('select[name=state] option:selected').text()+' '+$('select[name=city] option:selected').text()+' '+$('select[name=area] option:selected').text(); var source=source.replace(/ /g, '+'); if(working==false){

Posting video on instagram using hooks

余生颓废 提交于 2019-11-26 23:51:02
I want my app to be able to upload videos to instagram. Instagram IPhone Hooks gives information how to use the iphone hooks to upload a photo to instagram. My question is if anyone has any experience on how to accomplish the same but for a video? Instagram's API doesn't directly support uploading anything from 3rd party applications. Therefore you have to do some ugly user experience compromises when providing the functionality to your users. First, Prepare the video you want to upload to Instagram and store the path to it somewhere Second, Save it to the user's Camera Roll: if

Instagram API - How can I retrieve the list of people a user is following on Instagram

一笑奈何 提交于 2019-11-26 22:52:59
问题 I would like to know how I can retrieve the list of people a user is following on Instagram. This is given that this particular user is someone that I follow. So I have access to his/her photos and his followers on the Instagram app. How can I use the Instagram API to do this? Is this legal to do? 回答1: You can use the following Instagram API Endpoint to get a list of people a user is following. https://api.instagram.com/v1/users/{user-id}/follows?access_token=ACCESS-TOKEN Here's the complete

Did Instagram change API rate limits on Mar 30, 2018?

℡╲_俬逩灬. 提交于 2019-11-26 22:18:13
问题 I use some self developed script to get info about my posts and followers. Recently I discovered that Instagram changed rate limits for my app. I see following info in headers: x-ratelimit-limit: 200 I learned Instagram blog and page with changes but found no mentions about any changes since Oct 1, 2017. Is this new limit related only to my token or to entire platform? Could you check your token? 回答1: Yes It is, Although no official communication. I also experienced that. I found this in