instagram

Grab Instagram Follower count

南楼画角 提交于 2020-06-25 00:41:02
问题 So I have a question what would be the method to just grab the instagram follower count for a said user? I have looked at two possible options the official instagram API, but I couldn't find a specific method named on how to do so, but they do have a some user endpoints, but couldn't find much detail on it or I was thinking about using the unofficial instagram API https://github.com/mgp25/Instagram-API Any tips? 回答1: You can request https://www.instagram.com/<username>/?__a=1 and receive JSON

Find Instagram media url by ID

懵懂的女人 提交于 2020-06-24 07:37:17
问题 Thanks to a HTTP call not very official, I find media ID, image URL, and user name of Instagram posts. But I need the URL of each post on Instagram, and I don't know how to find it. Is there an URL like instagram.com/something/{mediaID} which redirect to instagram.com/p/{mediaSlug} , or another method to find slug by media ID (without using the official API of course!) ? For example, I've got : Unique number : 1238578393243739028_1408429375 Media ID : 1238578393243739028 User ID : 1408429375

Find Instagram media url by ID

家住魔仙堡 提交于 2020-06-24 07:36:15
问题 Thanks to a HTTP call not very official, I find media ID, image URL, and user name of Instagram posts. But I need the URL of each post on Instagram, and I don't know how to find it. Is there an URL like instagram.com/something/{mediaID} which redirect to instagram.com/p/{mediaSlug} , or another method to find slug by media ID (without using the official API of course!) ? For example, I've got : Unique number : 1238578393243739028_1408429375 Media ID : 1238578393243739028 User ID : 1408429375

How to locate the username and password field within Instagram login page using Chromedriver and Selenium Python

霸气de小男生 提交于 2020-06-23 11:02:01
问题 Here's inspected source code input aria-label="Phone number, username, or email" aria-required="true" autocapitalize="off" autocorrect="off" maxlength="75" name="username" type="text" class="_2hvTZ pexuQ zyHYP" value="" I have tried this code run driver = webdriver.Chrome() driver.get('https://www.instagram.com/') driver.find_element_by_xpath("//input[@name=\"username\"]").send_keys(username) driver.find_element_by_xpath("//input[@name=\"password\"]").send_keys(pw) driver.find_element_by

How to locate the username and password field within Instagram login page using Chromedriver and Selenium Python

ⅰ亾dé卋堺 提交于 2020-06-23 11:01:53
问题 Here's inspected source code input aria-label="Phone number, username, or email" aria-required="true" autocapitalize="off" autocorrect="off" maxlength="75" name="username" type="text" class="_2hvTZ pexuQ zyHYP" value="" I have tried this code run driver = webdriver.Chrome() driver.get('https://www.instagram.com/') driver.find_element_by_xpath("//input[@name=\"username\"]").send_keys(username) driver.find_element_by_xpath("//input[@name=\"password\"]").send_keys(pw) driver.find_element_by

How to locate the username and password field within Instagram login page using Chromedriver and Selenium Python

て烟熏妆下的殇ゞ 提交于 2020-06-23 10:59:28
问题 Here's inspected source code input aria-label="Phone number, username, or email" aria-required="true" autocapitalize="off" autocorrect="off" maxlength="75" name="username" type="text" class="_2hvTZ pexuQ zyHYP" value="" I have tried this code run driver = webdriver.Chrome() driver.get('https://www.instagram.com/') driver.find_element_by_xpath("//input[@name=\"username\"]").send_keys(username) driver.find_element_by_xpath("//input[@name=\"password\"]").send_keys(pw) driver.find_element_by

Give upload file path to Instagram with Selenium and python

独自空忆成欢 提交于 2020-06-12 07:46:08
问题 I'm testing some web scraping on Instagram with Selenium and Python. In this case I want to upload a picture. Normally you have to click on the upload icon and choose the file from a window. How can I manage it with Selenium? I tried: driver.find_element_by_class_name("coreSpriteFeedCreation").send_keys('C:\\path-to-file\\file.jpg') and also with find_element_by_xpath but I get an exception: selenium.common.exceptions.WebDriverException: Message: unknown error: cannot focus element I tried

instagram_graph_user_media & instagram_graph_user_profile permissions working only for test users

試著忘記壹切 提交于 2020-05-31 05:43:07
问题 I have an app that displays user's instagram media(like some of the dating apps). Also, my app has been reviewed successfully for permissions - instagram_graph_user_profile and instagram_graph_user_media and is in live mode . But in the Facebook Developer Console, the instagram icon is not turning up green . Please refer the screenshot. https://drive.google.com/open?id=1VnMHLqjTf1oRbvcm2g8Ol80AfB3JqMOg Flow to display the media is as follows. 1. My app ask users to authorize using https://api

instagram_graph_user_media & instagram_graph_user_profile permissions working only for test users

柔情痞子 提交于 2020-05-31 05:42:28
问题 I have an app that displays user's instagram media(like some of the dating apps). Also, my app has been reviewed successfully for permissions - instagram_graph_user_profile and instagram_graph_user_media and is in live mode . But in the Facebook Developer Console, the instagram icon is not turning up green . Please refer the screenshot. https://drive.google.com/open?id=1VnMHLqjTf1oRbvcm2g8Ol80AfB3JqMOg Flow to display the media is as follows. 1. My app ask users to authorize using https://api

Instagram Basic Display API Pagination

↘锁芯ラ 提交于 2020-05-28 06:49:19
问题 Is there anyway to use paging for the media results obtained using the Instagram Basic Display API? I've read the following documentations but they don't have any examples for using pagination: https://developers.facebook.com/docs/instagram-basic-display-api/reference/media/children https://developers.facebook.com/docs/graph-api/using-graph-api#paging I would like to limit the media returned in the response e.g. media 1-15 for the first call, then get the next set e.g. 16-30 in the next call.