JTwitterUsers
class JTwitterUsers extends JTwitterObject
Twitter API Users class for the Joomla Platform.
Methods
Constructor.
Method to check the rate limit for the requesting IP address
Method to build and return a full request URL for the request. This method will add appropriate pagination details if necessary and also prepend the API url to have a complete URL for the request.
Method to retrieve the rate limit for the requesting IP address
Method to send the request.
Set an option for the JTwitterObject instance.
Method to get up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two.
Method to access the profile banner in various sizes for the user with the indicated screen_name.
Method used to search for users
Method to get extended information of a given user, specified by ID or screen name as per the required id parameter.
Method to get an array of users that the specified user can contribute to.
Method to get an array of users who can contribute to the specified account.
Method access to Twitter's suggested user list.
method to access the users in a given category of the Twitter suggested user list.
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.
Details
__construct(
Registry $options = null,
JHttp $client = null,
JTwitterOAuth $oauth = null)
Constructor.
void
checkRateLimit(
string $resource = null,
string $action = null)
Method to check the rate limit for the requesting IP address
string
fetchUrl(
string $path,
array $parameters = null)
Method to build and return a full request URL for the request. This method will add appropriate pagination details if necessary and also prepend the API url to have a complete URL for the request.
array
getRateLimit(
string $resource)
Method to retrieve the rate limit for the requesting IP address
array
sendRequest(
string $path,
string $method = 'GET',
mixed $data = array(),
array $headers = array())
Method to send the request.
array
getUsersLookup(
string $screen_name = null,
string $id = null,
boolean $entities = null)
Method to get up to 100 users worth of extended information, specified by either ID, screen name, or combination of the two.
array
getUserProfileBanner(
mixed $user)
Method to access the profile banner in various sizes for the user with the indicated screen_name.
array
searchUsers(
string $query,
integer $page,
integer $count,
boolean $entities = null)
Method used to search for users
array
getUser(
mixed $user,
boolean $entities = null)
Method to get extended information of a given user, specified by ID or screen name as per the required id parameter.
array
getContributees(
mixed $user,
boolean $entities = null,
boolean $skip_status = null)
Method to get an array of users that the specified user can contribute to.
array
getContributors(
mixed $user,
boolean $entities = null,
boolean $skip_status = null)
Method to get an array of users who can contribute to the specified account.