Description Usage Arguments Details Value References See Also
Returns a list of friends of a given user (list of who he/she follows)
1 2 | tw_api_get_friends_ids(screen_name = NULL, twitter_token, user_id = NULL,
cursor = NULL, count = 1000, ...)
|
screen_name |
Screen name |
twitter_token |
An object of class Token1.0 as generated by tw_gen_token. |
user_id |
User ID number |
cursor |
Cursor page |
count |
Number of elements to download |
... |
Further arguments to be passed to |
Returns a cursored collection of user IDs for every user the specified user is following (otherwise known as their “friends”).
A vector
Twitter REST API (GET search/tweets) https://dev.twitter.com/rest/reference/get/friends/ids
Other API functions: tw_api_get_followers_ids
,
tw_api_get_followers_list
,
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_api_trends_available
,
tw_gen_token
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.