JTwitterPlaces
class JTwitterPlaces extends JTwitterObject
Twitter API Places & Geo 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 the information about a known place.
Method to get up to 20 places that can be used as a place_id when updating a status.
Method to search for places that can be attached to a statuses/update.
Method to locate places near the given coordinates which are similar in name.
Method to create a new place object at the given latitude and longitude.
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
getGeocode(
float $lat,
float $long,
string $accuracy = null,
string $granularity = null,
integer $max_results,
string $callback = null)
Method to get up to 20 places that can be used as a place_id when updating a status.
array
search(
float $lat = null,
float $long = null,
string $query = null,
string $ip = null,
string $granularity = null,
string $accuracy = null,
integer $max_results,
string $within = null,
string $attribute = null,
string $callback = null)
Method to search for places that can be attached to a statuses/update.