Processor that can return either trending topic or the Locations of the trending topics.
The twitter.trend.trend-query-type
property allow to select the query type.
For this mode set twitter.trend.trend-query-type
to trend
.
Processor based on Trends API. Returns the trending topics near a specific latitude, longitude location.
For this mode set twitter.trend.trend-query-type
to trendLocation
.
Retrieve a full or nearby locations list of trending topics by location.
If the latitude
, longitude
parameters are NOT provided the processor performs the Trends Available API and returns the locations that Twitter has trending topic information for.
If the latitude
, longitude
parameters are provided the processor performs the Trends Closest API and returns the locations that Twitter has trending topic information for, closest to a specified location.
Response is an array of locations
that encode the location’s WOEID and some other human-readable information such as a canonical name and country the location belongs in.