ricardojoserf / instagram-followers-bot

A bot for Instagram. You can follow users using a tag or in a specific location, unfollow those who dont follow-you-back, and follow-back those who follow you
477 stars 113 forks source link

Not able to Login #18

Closed Terril closed 3 years ago

Terril commented 3 years ago

Expected vs Actual Behavior

Specifications

Steps to Reproduce the Problem

Ran the main.py script

I logged out of my account on Instagram and used the same credentials {Facebook Login}.

Login not successful Traceback (most recent call last): File "main.py", line 157, in main() File "main.py", line 113, in main for i in api.getTotalSelfFollowers(): File "/Users/terrilthomas/Documents/Python Projects/instagram-followers-bot/LevPasha/InstagramAPI.py", line 162, in getTotalSelfFollowers return self.getTotalFollowers(self.username_id) AttributeError: InstagramAPI instance has no attribute 'username_id'

ricardojoserf commented 3 years ago

Hi @Terril , I understand it is working for you now, let me know if it does not work again in the future and i will reopen the issue ;)

Terril commented 3 years ago

Hi @ricardojoserf , This is specific to Facebook Login, and If the user has 2-step Auth. In that case, there should be something wherein the user inputs the OTP or something similar that he has received.