JTwitterLists
class JTwitterLists extends JTwitterObject
Twitter API Lists 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 all lists the authenticating or specified user subscribes to, including their own.
Method to get tweet timeline for members of the specified list
Method to get the subscribers of the specified list.
Method to remove multiple members from a list, by specifying a comma-separated list of member ids or screen names.
Method to subscribe the authenticated user to the specified list.
Method to check if the specified user is a member of the specified list.
Method to check if the specified user is a subscriber of the specified list.
Method to unsubscribe the authenticated user from the specified list.
Method to add multiple members to a list, by specifying a comma-separated list of member ids or screen names.
Method to get the members of the specified list.
Method to get the specified list.
Method to get a collection of the lists the specified user is subscribed to, 20 lists per page by default. Does not include the user's own lists.
Method to update the specified list
Method to create a new list for the authenticated user.
Method to delete a specified list.
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
getLists(
mixed $user,
boolean $reverse = null)
Method to get all lists the authenticating or specified user subscribes to, including their own.
array
getStatuses(
mixed $list,
mixed $owner = null,
integer $since_id,
integer $max_id,
integer $count,
boolean $entities = null,
boolean $include_rts = null)
Method to get tweet timeline for members of the specified list
array
getSubscribers(
mixed $list,
mixed $owner = null,
integer $cursor = null,
boolean $entities = null,
boolean $skip_status = null)
Method to get the subscribers of the specified list.
array
deleteMembers(
mixed $list,
string $user_id = null,
string $screen_name = null,
mixed $owner = null)
Method to remove multiple members from a list, by specifying a comma-separated list of member ids or screen names.
array
subscribe(
mixed $list,
mixed $owner = null)
Method to subscribe the authenticated user to the specified list.
array
isMember(
mixed $list,
mixed $user,
mixed $owner = null,
boolean $entities = null,
boolean $skip_status = null)
Method to check if the specified user is a member of the specified list.
array
isSubscriber(
mixed $list,
mixed $user,
mixed $owner = null,
boolean $entities = null,
boolean $skip_status = null)
Method to check if the specified user is a subscriber of the specified list.
array
unsubscribe(
mixed $list,
mixed $owner = null)
Method to unsubscribe the authenticated user from the specified list.
array
addMembers(
mixed $list,
string $user_id = null,
string $screen_name = null,
mixed $owner = null)
Method to add multiple members to a list, by specifying a comma-separated list of member ids or screen names.
array
getMembers(
mixed $list,
mixed $owner = null,
boolean $entities = null,
boolean $skip_status = null)
Method to get the members of the specified list.
array
getSubscriptions(
mixed $user,
integer $count,
integer $cursor = null)
Method to get a collection of the lists the specified user is subscribed to, 20 lists per page by default. Does not include the user's own lists.
array
update(
mixed $list,
mixed $owner = null,
string $name = null,
string $mode = null,
string $description = null)
Method to update the specified list