instagram_network_analysis icon indicating copy to clipboard operation
instagram_network_analysis copied to clipboard

my_followers_txt not working

Open DerLomo opened this issue 4 years ago • 9 comments

After running the get_my_followers.py script, nothing appears to be writted on my_followers.txt Does anyone have the same issue?

DerLomo avatar Feb 04 '21 18:02 DerLomo

yes, i have the same issue

edit: line #77 of bot.py on 01 folder didn't work following = self.driver.find_elements_by_xpath("//*[contains(text(), 'Following')]")

shadow17t avatar Feb 18 '21 09:02 shadow17t

Instagram have changed their UI, instead of showing you who you're following and letting you unfollow them, it now shows who you're not following and allowing you to follow them; which is the complete reverse logic – code needs to be adapted.

rogerxaic avatar Feb 18 '21 09:02 rogerxaic

Thanks for the heads up. I'm not actively maintaining the code anymore. Feel free to contribute!

MaximPiessen avatar Feb 18 '21 10:02 MaximPiessen

Instagram have changed their UI, instead of showing you who you're following and letting you unfollow them, it now shows who you're not following and allowing you to follow them; which is the complete reverse logic – code needs to be adapted.

could you help me out.

navenduraisamy avatar Feb 24 '21 14:02 navenduraisamy

Instagram have changed their UI, instead of showing you who you're following and letting you unfollow them, it now shows who you're not following and allowing you to follow them; which is the complete reverse logic – code needs to be adapted.

could you help me out.

change line #77 in bot.py into this: following = self.driver.find_elements_by_xpath("//*[contains(@class, 'd7ByH')]")

at least this worked for me

shadow17t avatar Feb 25 '21 01:02 shadow17t

Little Tutorial to get all you following

  1. https://www.instagram.com/download/request/ Choose JSON and Download
  2. Open the Email Download the .zip (it takes a time to get the email)
  3. Open the Folder followers_and_following
  4. Upload the following.json to https://data.page/json/csv
  5. Then only copy the line with the insta urls (https://www.instagram.com/xxxxx https://www.instagram.com/xxxx https://www.instagram.com/xxx https://www.instagram.com/xxxxxx) into the my_followers.txt
  6. Finished

Martin-Hausleitner avatar Nov 09 '21 17:11 Martin-Hausleitner

Great idea @Martin-Hausleitner I have my followers now recorded. Only issue is the program still doesnt know how to work with the new instagram UI, so when it searches for friends in common, it goes into an infinite loop. I also implemented the fix at line 77. Does anyone have a working fix in 2021? Thanks guys!

TylerTotally avatar Nov 16 '21 21:11 TylerTotally

Feel free to open a pull request if you have a working version!

MaximPiessen avatar Nov 17 '21 13:11 MaximPiessen

Great idea @Martin-Hausleitner I have my followers now recorded. Only issue is the program still doesnt know how to work with the new instagram UI, so when it searches for friends in common, it goes into an infinite loop. I also implemented the fix at line 77. Does anyone have a working fix in 2021? Thanks guys!

if i have some time i will try

Martin-Hausleitner avatar Dec 09 '21 21:12 Martin-Hausleitner