JTwitterFavorites
class JTwitterFavorites extends JTwitterObject
Twitter API Favorites 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 the most recent favorite statuses for the authenticating or specified user.
Method to favorite the status specified in the ID parameter as the authenticating user
Method to un-favorites the status specified in the ID parameter as the authenticating 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
getFavorites(
mixed $user = null,
integer $count = 20,
integer $since_id,
integer $max_id,
boolean $entities = null)
Method to get the most recent favorite statuses for the authenticating or specified user.