JTwittersearch
class JTwittersearch extends JTwitterObject
Twitter API Search 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 tweets that match a specified query.
Method to get the authenticated user's saved search queries.
Method to get the information for the saved search represented by the given id.
Method to create a new saved search for the authenticated user.
Method to delete a saved search for 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
search(
string $query,
string $callback = null,
string $geocode = null,
string $lang = null,
string $locale = null,
string $result_type = null,
integer $count = 15,
string $until = null,
integer $since_id,
integer $max_id,
boolean $entities = null)
Method to get tweets that match a specified query.
array
getSavedSearchesById(
integer $id)
Method to get the information for the saved search represented by the given id.