twint icon indicating copy to clipboard operation
twint copied to clipboard

CRITICAL:root:twint.feed:Follow:IndexError

Open yuis-ice opened this issue 3 years ago • 10 comments

  • [x] Python version is 3.6;
  • [x] Updated Twint with pip3 install --user --upgrade -e git+https://github.com/twintproject/twint.git@origin/master#egg=twint;
  • [x] I have searched the issues and there are no duplicates of this issue/question/request.

Command Ran

$ twint -u coinbureau --followers -l 50
CRITICAL:root:twint.feed:Follow:IndexError

Description of Issue

As the console output. I have no idea what the error means though.

Environment Details

Ubuntu 18.04.5 LTS

python --version Python 3.6.9

pyenv --version pyenv 1.2.22-16-ga7f44c39

pip --version pip 21.1.1

virtualenv --version virtualenv 20.4.6

yuis-ice avatar May 26 '21 09:05 yuis-ice

You typed "-l 50" but "-l" is the same as "--lang". I guess it doesn't let you define the language as 50. If you type "twint -h" in the terminal where you installed the twint, you can get detailed information about the commands.

ghost avatar May 26 '21 10:05 ghost

Okay, as I read one issue on github https://github.com/twintproject/twint/issues/340 I happened to misread "-l" for "--limit". But kindly note that the error can be totally reproducible with/without the option.

yuis-ice avatar May 26 '21 12:05 yuis-ice

I'm seeing the same.

resp = await response.text() in get.py is followed by a check for a 429 status, but for me it's always returning a 401 status (unauthorized), the code will then continue with an empty response.

dK0y avatar Jun 01 '21 19:06 dK0y

same error

isaacxbt avatar Jun 09 '21 17:06 isaacxbt

same error

vlasvlasvlas avatar Jun 09 '21 22:06 vlasvlasvlas

Does neither work with the Dockerfile. Any idea how to fix this? It seems related to the fact that a user has to be authenticated to access the followers.

Wulfheart avatar Jun 28 '21 16:06 Wulfheart

I think you'll need to:

  1. purchase twitter
  2. then tell your developers to make the followers etc available again from the mobile 'guest' account which seems to be the workaround that twint used to obtain them but that is no longer available.

dK0y avatar Jul 05 '21 14:07 dK0y

Maybe would be nice that developers inform us that this part is no longer working? I was having high hopes with this and see I cant use it now, wondering will it be deprecated in future or ?

n00b21337 avatar Jul 31 '21 14:07 n00b21337

same here

shizia avatar Apr 15 '22 08:04 shizia

Is there or will there be soon, a way to authenticate with Twitter in order to get a list of following or followers?

Aside from, of course, simply using Twitter the "normal" way.

seanPhill avatar Apr 17 '22 02:04 seanPhill