-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Add manual login class #27
Conversation
I'll modify some stuff first before merging if you're ok with them.
|
Sure |
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
04f1dfa#diff-156492a8cc62084db785c62dac5327a5b14f0889c2d2f05f5aab8b7610000b8dR80-R95
When we login too much in a time, twitter blocks a account temporary and check more auths. It may cause error when run as service
or docker
(cause it runs every 15 secs or 30 secs).
It should be better to save auth_token
to file and check manually if the auth_token
expire and then trying to login and get auth_token
I think I'm gonna export it to a cookie file so I might as well to the input at the same time. I'll open a new pr for that and consider this one done if you're ok with that |
Then your commit looks nice 👍 I think it can be merged |
I just made a simple object about getting
auth_token
by using yourusername(id)
andpassword
.It may be useful when the token expire, I just do this PR for future.