Closed jonaslsaa closed 1 year ago
Due to changes in Twitter APIs, we had to make some necessary changes in the package too. Please update to the latest version and see if the issue persists.
Looks like I am using the latest version on npm, 1.1.8
Can you check if any data actually gets stored in loginDetails?
Yes, data seems valid, in following format:
{
kdt: '...',
twid: '"..."',
ct0: '...',
auth_token: '...'
}
What I've tried:
getTweets
(by setting to undefined)await Rettiwt(loginDetails).tweets.getTweets(tweetFilter, 18, nextCursor);
None worked.
Can you provide the userToScrape list and startOfSearch for debug purpose?
It seems there might be some issue related to request data not being available or something like that. So without the data set, it will not be possible to reproduce the issue
These are the filters
{
"fromUsers": [
"politietsorost",
"oslopolitiops",
"politietost",
"politietsorvest",
"politiagder",
"politiinnlandet",
"politinordland",
"politifinnmark",
"PolitiTrondelag",
"PolitiMRpd",
"politivest",
"polititroms",
"110Vest",
"110Bodo",
"110Innlandet",
"sorost110",
"Oslo110sentral",
"110sorvest",
"110agder"
],
"startDate": "2023-05-04T03:58:54.095Z"
}
Sorry for the late reply. I was busy with my semester exams and thankfully, I'm not dead (yet) /s.
I tried to replicate this, but (un)fortunately, this works on my pc. Did you try logging in to you Twitter account from the browser to see whether you can log in?
No worries! There is no problem logging in to my account on the website. I'll look into it more closely soon (a few days left of my semester), is there anything else I should test then?
The login method for getting tweets was working great for a few days, now it is no longer working. I've tried using the same tokens and also logging each time, both give me the following error:
It occurs when trying to get a batch of tweets from accounts using
tweetService.getTweets
with a filter. Code snippet: