x0rz/tweets_analyzer

[!] Twitter error: [{u'message': u'Invalid or expired token.', u'code': 89}]

BaraSec opened this issue · 3 comments

Hi, how are you ?
I am using your script and I get this error after executing this command:
"python2 tweets_analyzer.py -n someUSERNAME".

The error is:
[!] Twitter error: [{u'message': u'Invalid or expired token.', u'code': 89}].

how to overcome this issue ?

Thanks in advance.

x0rz commented

Have you changed the secrets.py file?
You have to get your own API key at https://dev.twitter.com/

Oh I think this error occurs because I missed the "update the keys at secrets.py file" step.

Thanks anyway!

@x0rz Thanks. Yes I missed that step, sorry for the inappropriate issue.