Module | Twitter::REST::SuggestedUsers |
In: |
lib/twitter/rest/suggested_users.rb
|
Access the users in a given category of the Twitter suggested user list and return their most recent Tweet if they are not a protected user
@see dev.twitter.com/rest/reference/get/users/suggestions/:slug/members @rate_limited Yes @authentication Requires user context @param slug [String] The short name of list or a category. @param options [Hash] A customizable set of options. @return [Array<Twitter::User>]
@return [Array<Twitter::Suggestion>] @rate_limited Yes @authentication Requires user context @raise [Twitter::Error::Unauthorized] Error raised when supplied user credentials are not valid. @overload suggestions(options = {})
Returns the list of suggested user categories @see https://dev.twitter.com/rest/reference/get/users/suggestions @param options [Hash] A customizable set of options.
@overload suggestions(slug, options = {})
Returns the users in a given category @see https://dev.twitter.com/rest/reference/get/users/suggestions/:slug @param slug [String] The short name of list or a category. @param options [Hash] A customizable set of options.