yousefissa / Twitter-Follow-and-Unfollow-Bot

A bot that allows you to follow and unfollow users on twitter. Also allows you to do many other things.
119 stars 40 forks source link

Do you want to keep going? yes no infinite loop #22

Open marbella-web opened 2 years ago

marbella-web commented 2 years ago

Hi, Im not too sure what this means, does it mean do you want to choose more options. Hitting no or 'no' or yes or 'yes' Just breaks the code. 'no' choices[int(userChoice)](*get_friends()) File "C:\purematch\twitter tools\Follow uers of another user\Twitter-Follow-and-Unfollow-Bot\twitterBot.py", line 72, in get_friends followers = api.followers_ids(screen_name) AttributeError: 'API' object has no attribute 'followers_ids' PS C:\purematch\twitter tools\Follow uers of another user\Twitter-Follow-and-Unfollow-Bot>

Code doens't ask for screen_name to follow. Option 2 was selected

Option 2 was pressed 'yes' was entered - seems to be nothing asking to enter screen_name to follow.

choices[int(userChoice)](*get_friends()) File "C:\purematch\twitter tools\Follow uers of another user\Twitter-Follow-and-Unfollow-Bot\twitterBot.py", line 72, in get_friends followers = api.followers_ids(screen_name) AttributeError: 'API' object has no attribute 'followers_ids' PS C:\purematch\twitter tools\Follow uers of another user\Twitter-Follow-and-Unfollow-Bot>

without quotes ie '' code goes into an infinite loop