lib/twitter/rest/friends_and_followers.rb
# Returns the relationship of the authenticating user to the comma separated list of up to 100 screen_names or user_ids provided. Values for connections can be: following, following_requested, followed_by, none.
#
# @see https://dev.twitter.com/rest/reference/get/friendships/lookup
# @rate_limited Yes
# @authentication Requires user context
# @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid.
# @return [Array<Twitter::User>] The requested users.
# @overload friendships(*users)
#   @param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
# @overload friendships(*users, options)
#   @param users [Enumerable<Integer, String, Twitter::User>] A collection of Twitter user IDs, screen names, or objects.
#   @param options [Hash] A customizable set of options.
Returns the relationship of the authenticating user to the comma separated list of up to 100 screen_names or user_ids provided. Values for connections can be: following, following_requested, followed_by, none.
Returns the relationship of the authenticating user to the comma separated list of up to 100 screen_names or user_ids provided . Values for connections can be : following following_requested followed_by none .
def friendships(*args)
        arguments = Twitter::Arguments.new(args)
        merge_users!(arguments.options, arguments)
        perform_get_with_objects('/1.1/friendships/lookup.json', arguments.options, Twitter::User)
      end
def friendships ( * args ) arguments = Twitter :: Arguments . new ( args ) merge_users! ( arguments . options , arguments ) perform_get_with_objects ( '/1.1/friendships/lookup.json' , arguments . options , Twitter :: User ) end
Returns the relationship of the authenticating user to the comma separated list of up to 100 screen_names or user_ids provided.
Returns the relationship of the authenticating user to the comma separated list of up to 100 screen_names or user_ids provided .
The requested users.
The requested users .
Array<Twitter::User>
[Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid.
[ Twitter :: Error :: Unauthorized ] Error raised when supplied user credentials are not valid .
args
<not_specific>
see
None
rate_limited
None
authentication
Requires user context
Requires user context
overload
friendships(*users) @param users [Enumerable] A collection of Twitter user IDs, screen names, or objects.
friendships ( * users ) @param users [ Enumerable ] A collection of Twitter user IDs screen names or objects .
overload
friendships(*users, options) @param users [Enumerable] A collection of Twitter user IDs, screen names, or objects. @param options [Hash] A customizable set of options.
friendships ( * users options ) @param users [ Enumerable ] A collection of Twitter user IDs screen names or objects . @param options [ Hash ] A customizable set of options .