Description Usage Arguments Details References See Also
Uses the output from tw_api_trends_available()
1 | tw_api_get_trends_place(id, twitter_token, exclude = FALSE, ...)
|
id |
Id of the place |
twitter_token |
An object of class Token1.0 as generated by tw_gen_token. |
exclude |
Whether to exclude hashtags or not |
... |
Ignored |
Returns the top 10 trending topics for a specific WOEID, if trending information is available for it.
The response is an array of “trend” objects that encode the name of the trending topic, the query parameter that can be used to search for the topic on Twitter Search, and the Twitter Search URL.
This information is cached for 5 minutes. Requesting more frequently than that will not return any more data, and will count against your rate limit usage.
Twitter REST API (GET trends/place) https://dev.twitter.com/rest/reference/get/trends/place
Other API functions: tw_api_get_followers_ids
,
tw_api_get_followers_list
,
tw_api_get_friends_ids
,
tw_api_get_search_tweets
,
tw_api_get_statuses_sample
,
tw_api_get_statuses_user_timeline
,
tw_api_get_users_search
,
tw_api_get_users_show
,
tw_api_trends_available
,
tw_gen_token
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.