instagram

New Instagram API - How do you request tagged media?

允我心安 提交于 2019-12-17 19:44:30
问题 This question is going to seem like a duplicate of all the previous ones around this issue, specifically this question PHP Instagram API - How to get MIN_TAG_ID and MAX_TAG_ID. But with the new API changes the previous answers no longer work. Goal I want to request media for a specific tag. The Documentation Instagrams documentation on getting tagged media specifies you need to have the public_content scope and that there are 4 available parameters; ACCESS_TOKEN , COUNT , MIN_TAG_ID , and MAX

Instagram Profile Picture in Full-Resolution?

早过忘川 提交于 2019-12-17 17:59:22
问题 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 回答1: 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

Rounded Background text like Instagram, ReplacementSpan not working as required

北战南征 提交于 2019-12-17 16:12: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;

OAuthAccessTokenException-The access_token provided is invalid Instagram new api

喜你入骨 提交于 2019-12-17 14:54:12
问题 I am integrating Instagram login into my application. As per the provided documentation in bellow link: https://www.instagram.com/developer/authentication/ For getting CODE I hit follow API: https://api.instagram.com/oauth/authorize?app_id="your app_id"&redirect_uri=https://www.google.com/&scope=user_profile,user_media&response_type=code After hitting above API in web-view I got bellow new URL with code in it: http://www.google.com/?code=AQCPw4m0jd85IX7Qi83rd

What is the maximum number of requests for Instagram?

为君一笑 提交于 2019-12-17 12:38:54
问题 I was wondering if there is a limitation of the number of images that are tagged that you can return? This is my code: <script type="text/javascript"> $(function() { $.ajax({ type:'GET', dataType:'jsonp', cache: false, url:'https://api.instagram.com/v1/tags/[TAG NAME]/media/recent?client_id=[CLIENT ID]', success: function(data) { for (var i = 0; i < 50; i++) { $(".pics").append("<li><a target='_blank' href='" + data.data[i].link + "' class='upshot-instagram' rel='instagram-group'><img src='"

Getting a sticky header to “push up”, like in Instagram's iPhone app using CSS and jQuery

大兔子大兔子 提交于 2019-12-17 07:58:47
问题 The Instagram app has a nice sticky header that pushes the current one up in place of the new one. I found a great tutorial on how to do this natively for Android, but I'm looking to do it with JavaScript and CSS. I was able to get my header to switch out for a new one, but I can't seem to find a way to mimic the way Instagram does it. Any help is greatly appreciated. * Edit: I was able to get the header to stick to the top of the page when scrolling using waypoints as Cj in the comments

Instagram API: How to get all user media?

风格不统一 提交于 2019-12-17 05:37:34
问题 In general I need to get all user media. User has more than 250 photos. I do /users/1/media/recent/?access_token=...&count=250 But it returns only 20 photos. Maybe instagram has a limit for getting media. If it is, response has a pagination to solve it. But there are only max ID photo. How to know the first (min) ID photo to paginate it then? 回答1: You're right, the Instagram API will only return 20 images per call. So you'll have to use the pagination feature. If you're trying to use the API

Instagram API: How to get all user media?

倖福魔咒の 提交于 2019-12-17 05:37:16
问题 In general I need to get all user media. User has more than 250 photos. I do /users/1/media/recent/?access_token=...&count=250 But it returns only 20 photos. Maybe instagram has a limit for getting media. If it is, response has a pagination to solve it. But there are only max ID photo. How to know the first (min) ID photo to paginate it then? 回答1: You're right, the Instagram API will only return 20 images per call. So you'll have to use the pagination feature. If you're trying to use the API

From scraper_user.items import UserItem ImportError: No module named scraper_user.items

坚强是说给别人听的谎言 提交于 2019-12-14 03:35:59
问题 I am following this guide for scraping data from instagram: http://www.spataru.at/scraping-instagram-scrapy/ but I get this error: mona@pascal:~/computer_vision/instagram/instagram$ ls instagram scrapy.cfg mona@pascal:~/computer_vision/instagram/instagram$ scrapy crawl instagramspider 2017-03-01 15:30:10-0600 [scrapy] INFO: Scrapy 0.14.4 started (bot: instagram) 2017-03-01 15:30:10-0600 [scrapy] DEBUG: Enabled extensions: LogStats, TelnetConsole, CloseSpider, WebService, CoreStats,

Get list of images from Instagram for explicit user account

拈花ヽ惹草 提交于 2019-12-14 03:07:35
问题 I've google for several hours now and I haven't found a suitable solution to my "problem". My previous solution was to use an url like this for fetching json-data of images related to my Instagram account. https://www.instagram.com/[account-name-here]/media For some reason this url doesn't work any more (404?). Perhaps Instagram has done some changes on their side. That in mind I've searched for an alternative solution, with no luck. I'm super exited to hear if any of you guys can point me in