Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't solve the error: invalid or expired token #251

Open
vxcall opened this issue May 15, 2018 · 2 comments
Open

I can't solve the error: invalid or expired token #251

vxcall opened this issue May 15, 2018 · 2 comments

Comments

@vxcall
Copy link

vxcall commented May 15, 2018

I wrote This code
This code is unfollow "those who are followed me but don't follow me".

I run this... then about after unfollow 120 people, catch the error below.
Get https://api.twitter.com/1.1/friendships/create.json returned status 401, {"errors":[{"code":89,"message":"Invalid or expired token."}]}
after I'm unable to unfollow.

please tell me how to fix this bug.

finally, I think I have difficulty communicating with you because I'm not good at speaking English.
sorry!! :{

@quiye
Copy link

quiye commented Jun 9, 2018

@s3pt3mb3r I think it is Twitter's problem.
Please try to regenerate your tokens for unfollowing.

There are people who faced similar problems.
【TwitterAPIのエラー解消法】tweepy.error.TweepError: [{'code': 89, 'message': 'Invalid or expired token.'}] - 仮想化エンジニアの日常

@vxcall
Copy link
Author

vxcall commented Jun 10, 2018

@quiye
Ok...thank you for your information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants