lookupTrends abstract method
Returns the top 50 trending topics for a specific id, if trending information is available for it.
Parameters
-
locationId
: ID of where the trend is occurring. -
excludeHashtags
: List of hashtags to exclude from search results
Endpoint Url
Authentication Methods
- OAuth 1.0a
Rate Limits
- User rate limit (OAuth 1.0a): 75 requests per 15-minute window per each authenticated user
Reference
Implementation
Future<TwitterResponse<List<TrendData>, void>> lookupTrends({
required int locationId,
List<String>? excludeHashtags,
});