instagram

How to start with the InstagramAPI in Python?

How to start with the InstagramAPI in Python? Question: i want to play with the InstagramAPI and write some code for like getting a list of my follower and something like that. I am really new to that topic. What is the best way to do this? Is there a Python-Lib for handle those json …

Total answers: 4

How to locate Instagram Follow button with selenium (Python)

How to locate Instagram Follow button with selenium (Python) Question: I’m trying to locate the ‘follow’ button element on an instagram page (using selenium). I’ve found the main ‘follow’ button of a user’s page (https://www.instagram.com/USERNAME/) with the following code: follow_button = self.driver.find_element_by_css_selector(‘button’) Although after clicking the above element ^, now I’m trying to locate ‘follow’ …

Total answers: 4

Send a Instagram comment using Python with Selenium

Send a Instagram comment using Python with Selenium Question: I want to submit a comment using Python with Selenium. The comment box in Instagram web looks like this: <textarea aria-label=”Añade un comentario…” placeholder=”Añade un comentario…” class=”Ypffh” autocomplete=”off” autocorrect=”off” style=”height: 18px;”></textarea> My Python code: coment_box = driver.find_elements_by_css_selector(“form textarea”) coment_box.send_keys(“Nice picture”) I tried to use the find_by_xpath(“here_xpath”) …

Total answers: 4