Description Usage Arguments Details References See Also
Get codes from the places where trends are availables
1 | tw_api_trends_available(twitter_token, ...)
|
twitter_token |
An object of class Token1.0 as generated by tw_gen_token. |
... |
Ignored |
Returns the locations that Twitter has trending topic information for.
The 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.
A WOEID is a Yahoo! Where On Earth ID.
Twitter REST API (GET trends/available) https://dev.twitter.com/rest/reference/get/trends/available
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_trends_place
,
tw_api_get_users_search
,
tw_api_get_users_show
,
tw_gen_token
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.