Method to get an array of users that the specified user can contribute to.
array
getContributees
(mixed $user, [boolean $entities = null], [boolean $skip_status = null])
-
mixed
$user: Either an integer containing the user ID or a string containing the screen name.
-
boolean
$entities: Set to true to return IDs as strings, false to return as integers.
-
boolean
$skip_status: When set to either true, t or 1 statuses will not be included in the returned user objects.
Method to get an array of users who can contribute to the specified account.
array
getContributors
(mixed $user, [boolean $entities = null], [boolean $skip_status = null])
-
mixed
$user: Either an integer containing the user ID or a string containing the screen name.
-
boolean
$entities: Set to true to return IDs as strings, false to return as integers.
-
boolean
$skip_status: When set to either true, t or 1 statuses will not be included in the returned user objects.
Method access to Twitter's suggested user list.
array
getSuggestions
([boolean $lang = null])
-
boolean
$lang: Restricts the suggested categories to the requested language.
method to access the users in a given category of the Twitter suggested user list.
array
getSuggestionsSlug
(string $slug, [boolean $lang = null])
-
string
$slug: The short name of list or a category.
-
boolean
$lang: Restricts the suggested categories to the requested language.
Method to access the users in a given category of the Twitter suggested user list and return their most recent status if they are not a protected user.
array
getSuggestionsSlugMembers
(string $slug)
-
string
$slug: The short name of list or a category.
Method to get extended information of a given user, specified by ID or screen name as per the required id parameter.
array
getUser
(mixed $user, [boolean $entities = null])
-
mixed
$user: Either an integer containing the user ID or a string containing the screen name.
-
boolean
$entities: Set to true to return IDs as strings, false to return as integers.
Method to access the profile banner in various sizes for the user with the indicated screen_name.
array
getUserProfileBanner
(mixed $user)
-
mixed
$user: Either an integer containing the user ID or a string containing the screen name.
Method to get up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two.
array
getUsersLookup
([string $screen_name = null], [string $id = null], [boolean $entities = null])
-
string
$screen_name: A comma separated list of screen names, up to 100 are allowed in a single request.
-
string
$id: A comma separated list of user IDs, up to 100 are allowed in a single request.
-
boolean
$entities: When set to either true, t or 1, each tweet will include a node called "entities,". This node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags.
Method used to search for users
array
searchUsers
(string $query, [integer $page = 0], [integer $count = 0], [boolean $entities = null])
-
string
$query: The search query to run against people search.
-
integer
$page: Specifies the page of results to retrieve.
-
integer
$count: The number of people to retrieve. Maximum of 20 allowed per page.
-
boolean
$entities: When set to either true, t or 1, each tweet will include a node called "entities,". This node offers a variety of metadata about the tweet in a discreet structure, including: user_mentions, urls, and hashtags.
Inherited Methods
Inherited From JTwitterObject
JTwitterObject::__construct()
JTwitterObject::checkRateLimit()
JTwitterObject::fetchUrl()
JTwitterObject::getOption()
JTwitterObject::getRateLimit()
JTwitterObject::sendRequest()
JTwitterObject::setOption()