instagram

Display Instagram photos from different account to my webpage

亡梦爱人 提交于 2019-11-28 10:36:55
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 JFK 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 that json response through an (jQuery) ajax call like : $.ajax({ url: "http://instagram.com/jamieoliver

open viewcontroller from tab like in instagram camera page on IOS

自闭症网瘾萝莉.ら 提交于 2019-11-28 09:30:20
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?? erparker 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 you'll need to set the tags of your tab items to whatever you need them to be: And now you can do

Abbreviate a localized number in JavaScript for thousands (1k) and millions (1m)

試著忘記壹切 提交于 2019-11-28 09:14:25
问题 I am using the following Javascript to display my Instagram follower count on my site. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script> /* Get access token & ID through http://jelled.com/instagram/access-token Register your app here @ Instagram http://instagram.com/developer */ $(function() { $.ajax({ type: "GET", dataType: "jsonp", cache: true, url: "https://api.instagram.com/v1/users/{ID}/?access_token={ACCES_TOKEN}", success: function(data) {

Rounded Background text like Instagram, ReplacementSpan not working as required

余生长醉 提交于 2019-11-28 08:46:20
I was trying to do something similar to Instagram below - But i want this curves like Instagram - Now i am stuck in one more problem - When i types,. text does not goes automatically to next line, I have to press return , like normally editText works in fixed width. (In short multiline is not working fine with ReplacementSpan ) Below is sample code for what i have done - public class EditextActivity extends AppCompatActivity { EditText edittext; RoundedBackgroundSpan roundedBackgroundSpan; @Override protected void onCreate(@Nullable Bundle savedInstanceState) { super.onCreate

Instagram Api User Logout

淺唱寂寞╮ 提交于 2019-11-28 08:36:35
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. 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. If you are using PHP/HTML I would put a hidden IMG element with the SRC attribute pointed at the Instagram logout URL. If Bhavik S's answer didn't

OAuth2, Swift 3, Instagram

旧城冷巷雨未停 提交于 2019-11-28 07:04:54
There seem to be lots of changes at IG. Many OAuth2 repos, all seem to have bugs, or really not easily converted to Swift3. Wondering if anyone has a solution for moving to Swift3 and working with the latest changes at Instagram? Solutions most welcome. OAuth2 implementation seems to one of the more complicated things out there. Surprised that IG has not offered their own example docs on how to do this with iOS. They only have docs for web based solutions. Maybe something brewing there? Zillions of coders they have on staff. But for now, on the hunt for a (dare I say?) simple solution. thanks

Instagram Profile Picture in Full-Resolution?

两盒软妹~` 提交于 2019-11-28 06:39:14
how do I get the profile picture of an instagram profile in full-res? (The old URL scheme stopped working today). regex='profile_pic_url_hd":"([0-9a-zA-Z._-/:]*)",' Is working for 320px pictures, but nothing else. The prefix to the 150x150 img is different, but the ID/ending of the url with jpg is the same. Thanks Okay guys I found a final solution: Get the user_id of the account using this link https://www.instagram.com/{name}/?__a=1 Visit this JSON-API with the user_id above https://i.instagram.com/api/v1/users/{user_id}/info/ The full size profile picture link can be found in [hd_profile

1080x1080 photos via Instagram API

北战南征 提交于 2019-11-28 05:22:09
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? [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/BTduOwSAwN6/ Then you can append ?__a=1 to this e.g. https://www.instagram.com/p/BTduOwSAwN6/?__a=1 And you

How to get all images of hashtag in Instagram without API?

限于喜欢 提交于 2019-11-28 04:46:47
This is the code that I used to get images of hashtag without API. I do not want to use any credentials. It does not require me to add either client_id or access token. But I only get 15 images. How can I get all the images? <div> <form action='#' method='post'> <input type='input' name='txttag' /> <input type='submit' value='Get Image' /> </form> </div> <?php function scrape_insta_hash($tag) { $insta_source = file_get_contents('https://www.instagram.com/explore/tags/'.$tag.'/'); // instagrame tag url $shards = explode('window._sharedData = ', $insta_source); $insta_json = explode(';</script>'

Intent to open Instagram user profile on Android

微笑、不失礼 提交于 2019-11-28 03:56:38
I'm developing a social networking app and our users can connect their Instagram account to our service. I'd like to open Instagram profiles directly in their official Android app (if it is installed) but I can't find any way to do that. However, there is a page on their developer site about the exact same feature on iOS but this doesn't seem to work on Android at all. Everything I found on the web only suggests various ways to open links in a browser. Any suggestions? jhondge I solved this problem using the following code. Uri uri = Uri.parse("http://instagram.com/_u/xxx"); Intent likeIng =