go-twitter
go-twitter copied to clipboard
Add next_token to TweetRecentCount
Actually next_token
could've been sent to and responded from GET /2/tweets/counts/recent
typically when minute
would be set for granularity
paremeter. It's not documented in the official documentation though.
When I run this
https://api.twitter.com/2/tweets/counts/recent?query=lakers
I do not get a next_token
. Do you have an example that would provide that output?
For example
https://api.twitter.com/2/tweets/counts/recent?start_time=2022-06-01T00%3A00%3A00Z&granularity=minute&query=lakers
You will have to modify start_time
if it exceeded the time range (<7 days).
could you add a unit test for this?
Sure but it may take a while in my priority.