tweety icon indicating copy to clipboard operation
tweety copied to clipboard

Bug in "get_user_followings"

Open fabston opened this issue 4 months ago • 6 comments

I have noticed that for a few accounts i am not able to grab their following, it just returns 0 while they follow accounts.

A few accounts that are effected: @VMNFT93, @0xd063, @ahboyash.

fabston avatar Feb 29 '24 06:02 fabston

image

mahrtayyab avatar Feb 29 '24 06:02 mahrtayyab

Oh ok, must be because he got restricted I guess? The other two got followings tho

fabston avatar Feb 29 '24 06:02 fabston

image

if you can send the code snippet you are running

mahrtayyab avatar Feb 29 '24 06:02 mahrtayyab

from tweety import Twitter

app = Twitter("session")
app.connect()

followings = app.get_user_followings(986054149920866305) # @ahboyash
print(followings)
for follow in followings:
    print(follow)

which prints: UserFollowings(user_id=986054149920866305, count=0)

fabston avatar Feb 29 '24 06:02 fabston

image are you updated?

mahrtayyab avatar Feb 29 '24 06:02 mahrtayyab

I am on version 1.0.9.5. Just ran pip install https://github.com/mahrtayyab/tweety/archive/main.zip --upgrade again so I assume I am?

fabston avatar Feb 29 '24 06:02 fabston