Rajat Saini
Rajat Saini

Reputation: 13

How to get 5 hours back trend in Twitter?

I know how to get the current trends of Twitter for a specific location, but is there any way to get 5 hours back trend in Twitter using API ?

Upvotes: 0

Views: 50

Answers (1)

DWRoelands
DWRoelands

Reputation: 4940

The Twitter REST API does not support this sort of inquiry. To accomplish this, you would need to have your application poll the trends every hour (or so) and store them in a database. You could then query that database however you like.

Upvotes: 1

Related Questions