You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use getLatestTweet and getTweets in order to get the most recent 10 tweets by a specific user.
In the case below, the latest tweet returned was from April 23, 2024 when there are posts more recent than that date.
When listing 10 tweets, the tweets returned are from random dates in no particular order.
When the username is changed from carlosindex02 to devjumzzz, no results are available for getLatestTweet nor getTweets despite the fact that the user has tweets available.
Does anyone happen to know what might be happening?
Note, I am not logged in or authenticated in these calls, the below is the entirety of the code I am using.
const scraper1 = require('@the-convocation/twitter-scraper');
async function test(){
const scraper = new scraper1.Scraper();
var tweet = await scraper.getLatestTweet('carlosindex02', false, 10)
console.log(tweet)
for await (const x of scraper.getTweets('carlosindex02', 10)){
console.log(x)
console.log('======================')
}
}
test()
The text was updated successfully, but these errors were encountered:
I am trying to use getLatestTweet and getTweets in order to get the most recent 10 tweets by a specific user.
In the case below, the latest tweet returned was from April 23, 2024 when there are posts more recent than that date.
When listing 10 tweets, the tweets returned are from random dates in no particular order.
When the username is changed from carlosindex02 to devjumzzz, no results are available for getLatestTweet nor getTweets despite the fact that the user has tweets available.
Does anyone happen to know what might be happening?
Note, I am not logged in or authenticated in these calls, the below is the entirety of the code I am using.
The text was updated successfully, but these errors were encountered: