Twitter Exclude_replies=true Count=5 Not Returning 5 Tweets
How do I return specific number of tweets without replies? https://github.com/thujohn/twitter/issues/4 I found this answer on github but it is not helpful at all. Should make reque
Solution 1:
In twitter API timeline requests, for example user timeline, replies are removed after count
tweets are selected.
Using exclude_replies with the count parameter will mean you will receive up-to count tweets — this is because the count parameter retrieves that many Tweets before filtering out retweets and replies.
I would suggest you to use a larger count
(upto 200 is allowed) and select first five tweets from the response.
Post a Comment for "Twitter Exclude_replies=true Count=5 Not Returning 5 Tweets"