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
The getTimeline and getLiked functions get redundant tweets. Related to Twitter API docs, I think we should use since_id and max_id together to fix this.
function
count
without duplicates
getLiked
3164
2943
getTimeline
3415
3202
The text was updated successfully, but these errors were encountered:
sepehrity
added a commit
to sepehrity/twitter-interaction-circles
that referenced
this issue
Jul 11, 2020
I haven't had time to look at this yet but I am not sure what's happening but IDK if since_id would fix the issue.
For the getTimeline I am guessing a lot of duplicates could be appearing due to a user both retweeting and commenting on a post, for the liked, I am really not sure.
According to the docs, since_id is used to fetch new posts since and id, but the way the pagination works here is going down the chronological order rather than up.
Thanks for your great work!
The
getTimeline
andgetLiked
functions get redundant tweets. Related to Twitter API docs, I think we should usesince_id
andmax_id
together to fix this.The text was updated successfully, but these errors were encountered: