Closed Nevgup closed 1 month ago
Any specific user which triggers this bug? That way, I'll be able to reproduce the issue.
Ok now i don't have this problem anymore idk why But, do you know why the created timestamp of the tweet is for example at 13:15:17.878Z and I check a user.timeline(id) at 13:15:18.215, but it wont returns the new tweet
How can I do for this please ?
I just encountered this bug as well. It takes a full minute before new tweet can be seen in response.
const getTweet = async () => {
const res = await rettiwt.tweet.search(
{ fromUsers: ["test1"], replies: false },
1
);
console.log(res);
};
Steps to reproduce.
CursoredData {
list: [],
next: Cursor {
value: 'cursoredvaluehere'
}
}
Only after a minute the response has Tweet object inside the list
Checking on it now
Okay so turns out, this is how just Twitter works. The endpoint used to scrape tweets is the same which used to search tweets. And that endpoint, shows results just after a delay (maybe because it does some indexing in the background).
Hello
Sometimes, I don't know why, i can't get the last tweet, there is no list[] key in the CursoredData For example I have this code :
If i use it on a certain user, I'll have something like this for
response
I don't know why the list is empty, since there is a real tweet that I can see on Twitter
Thanks for your help