instagram

Getting number of followers of a user in instagram using Instagram API

荒凉一梦 提交于 2020-01-16 01:12:38
问题 I know this has been asked before .. but my code doesn't seem to work for users other than the one using whom accesstoken is created .. i.e I am able to access the profile of only one user.(using whom I created accesstoken) from urllib2 import urlopen from json import load import json import json import sys import time import requests userid="userid_of_some_instagram_user" access_token="mytoken" url = "https://api.instagram.com/v1/users/%s/?access_token=%s"%(userid,access_token) response

Getting instagram post url from media id

纵然是瞬间 提交于 2020-01-15 05:46:31
问题 I have the post media_id in my hands and I'd like to know if there is a way to create a valid url from it. For instance, if you have a Facebook post id (xxxx_yyyy) on your hands, you can create the following url from it (http://facebook.com/ xxxx /posts/ yyyy ) and directly access the original post. Is there a way to do this on Instagram? Having media_id (and user_id) in my hands, is it possible to create a single post url? 回答1: I had to implement client side javascript to solve this and

Instagram iPhone Hooks iOS 11.2.5 instagram 29, feed not opening the file, but the camera roll

独自空忆成欢 提交于 2020-01-15 04:01:05
问题 the project I have uses UIDocumentInteractionController to copy/share and image to Instagram, it worked fine for a while. As soon as I selected the instagram app from the iOS share sheet. the image was open in the select filter section. Recently, the image is now opened in a view with an x to close and two buttons, one to select stories and another one to select feed, if I select feed, then the camera roll is opened and the last picture is selected or the camera but the image I was sharing

Scrape Instagram Web Hashtag Posts

做~自己de王妃 提交于 2020-01-14 14:11:58
问题 I'm trying to scrape the number of posts to a given hashtag (#castles) and populate a Google Sheet cell using ImportXML. I tried copying the Xpath from Chrome and paste it to the ImportXML parameter in the cell like this: =ImportXML("https://www.instagram.com/explore/tags/castels/", "//*[@id="react-root"]/section/main/header/div[2]/div/div[2]/span/span") I saw there is a problem with the quotation marks so I also tried: =ImportXML("https://www.instagram.com/explore/tags/castels/", "//*[@id=

Reverse Engineering HTTP request

别说谁变了你拦得住时间么 提交于 2020-01-14 13:29:09
问题 I am trying to decode the post data sent to graph.instagram.com by the Android instagram app. The question is simillar to the one found here: Reverse Engineer HTTP request It seems that either the iPhone app handles this differently to the Android app or something has changed since that question was asked. I've captured the traffic using Burp and it seems the main data is now sent to IG as a .gz file: POST /logging_client_events HTTP/1.1 X-IG-Connection-Type: WIFI X-IG-Capabilities: 3brTAw==

Reverse Engineering HTTP request

末鹿安然 提交于 2020-01-14 13:29:07
问题 I am trying to decode the post data sent to graph.instagram.com by the Android instagram app. The question is simillar to the one found here: Reverse Engineer HTTP request It seems that either the iPhone app handles this differently to the Android app or something has changed since that question was asked. I've captured the traffic using Burp and it seems the main data is now sent to IG as a .gz file: POST /logging_client_events HTTP/1.1 X-IG-Connection-Type: WIFI X-IG-Capabilities: 3brTAw==

Get access_token using Windows Service's or Console App. for Instagram Api

时光怂恿深爱的人放手 提交于 2020-01-13 05:50:11
问题 My windows service is collect instagram datas from instagram api. I was using client_id but this uses format is removed. Instagram api is want to access_token but Oauth 2.0 is web-based. or not? I using .NET and my application type is windows service and web request don't work because this call url: "https://www.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=code" is have one more contain redirect. so web response haven't contain my web application

Instagram Oauth2 implicit authentication redirect to page unavailable if you introduce bad password

二次信任 提交于 2020-01-13 05:34:08
问题 I am using the oauth2 Instagram implicit flow to do login in Instagram, the base url that I am using is this: https://api.instagram.com/oauth/authorize/?client_id=MY_CLIENT_ID&redirect_uri=http://example.com/oauth_redirect.html&response_type=token This url show me the Instagram login page, I introduce user and password and if they are correct the API redirects me to the redirect_uri, but when I introduce a bad user or password it redirects me to this unavailable page in Instagram: https://www

Instagram custom URL scheme for Android

社会主义新天地 提交于 2020-01-13 02:43:09
问题 I need to run the Instagram Application, using the HTML link. For iPhone I use iPhone Hooks(Instagram iPhone Hooks). How can I do the same for Android? 回答1: There's a thread on this subject in the Instagram API Developers group on Google Groups. According to Mike Krieger, who is one of the Instagram developers, you can already achieve Document Interaction on Android using Intents. If that is what you need, you should look at the Android document on sharing with intents. The basic code for

Instagram custom URL scheme for Android

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-13 02:42:10
问题 I need to run the Instagram Application, using the HTML link. For iPhone I use iPhone Hooks(Instagram iPhone Hooks). How can I do the same for Android? 回答1: There's a thread on this subject in the Instagram API Developers group on Google Groups. According to Mike Krieger, who is one of the Instagram developers, you can already achieve Document Interaction on Android using Intents. If that is what you need, you should look at the Android document on sharing with intents. The basic code for