Closed flashmercurymcfly closed 1 year ago
Can you tell which account was it?
This is the account that was giving me issues https://twitter.com/arknights_fan
Okay, so I tested a lot, and it works all the time. No "Forbidden" Error on my end and I am also able to fetch all tweets. Is this issue still occurring?
The forbidden issue stopped appearing all together, but the above account when using getUserTweets only returns 2 tweets in that list for some reason (two tweets from the 8th of June for some reason).
I tested with another account (https://twitter.com/ArknightsEN) and this seems have the proper list but excludes the most recent tweet (which as of writing was made around 1 hour & 45 minutes ago)
Could this be an instance of myself being rate limited somehow? I can't possibly imagine why else the account from my previous post would only be returning two tweets
I'm so sorry for the inconvenience.
Because of the ongoing placement drive in my college, my work has been intermittent. I'm looking into this issue whenever I find time.
Rest assured, I will do my best to resolve this.
Thanks for your patience!
I was having this same issue. When I logging on the browser I got the following. Clicked start
and it logged in normally. Seems I can now fetch tweets fine. Lets hope I don't get locked again :/
@OwnInTheFoam Did you perhaps try to login too many times using the API?
The recommended way is to login just once and then use those cookies to fetch all subsequent data. The cookies have a validity of a year after all
Ah yes I wasn't saving the API keys for next login. I'll implement this. Thank you !
I suspect part of my issue is related to #311 also.
@flashmercurymcfly Yeah might be. In the meantime, I would suggest using this method instead to fetch tweets. This method has always worked flawlessly, though it requires logging in.
Changes will come by Monday, in the meantime, I need to check what other things have changed on Twitter platform.
@flashmercurymcfly See #314. Please update to the latest version.
Started to see this in my project's logs yesterday but only for certain twitter accounts (I fetch tweets using getUserTweets from 2 accounts and 1 is completely unaffected by this issue.
The error eventually stopped occurring but I noticed that the account that was causing this error before now only shows has 2 tweets when getUserTweets returns the list despite the account having more than 2 tweets.