friendships {twitteR} | R Documentation |
A function to detail relations between yourself & other users
Description
This function will accept a list of other Twitter users and will detail if they follow you and/or you follow them.
Usage
friendships(screen_names = character(), user_ids = character(), ...)
Arguments
screen_names |
A vector of one or more Twitter screen names |
user_ids |
A vector of one or more Twitter user id values |
... |
Any other arguments to pass to RCurl |
Details
The combined number of screen names and user ids may not exceed 100. Any non-existent users will be dropped from the output
Value
A data.frame, one row for each user requested with columns name
,
screen_name
, id
, following
and followed_by
. The
latter two columns will be TRUE
or FALSE
depending on that user's
relations with your account.
Author(s)
Jeff Gentry
References
https://dev.twitter.com/docs/api/1.1/get/friendships/lookup
See Also
Examples
## Not run:
friendships()
## End(Not run)
[Package twitteR version 1.1.9 Index]