\JTwitterPlaces
Twitter API Places & Geo class for the Joomla Platform.
Synopsis
class JTwitterPlaces
extends JTwitterObject
{
- // Inherited members from JTwitterObject
- protected JRegistry $options;
- protected JHttp $client;
- protected JTwitterOAuth $oauth;
- // methods
- public array getPlace()
- public array getGeocode()
- public array search()
- public array getSimilarPlaces()
- public array createPlace()
- // Inherited methods from JTwitterObject
- public void __construct()
- public void checkRateLimit()
- public string fetchUrl()
- public array getRateLimit()
- public array sendRequest()
- public mixed getOption()
- public JTwitterObject setOption()
Hierarchy
Extends
Members
protected
- $client — JHttp
- $oauth — JTwitterOAuth
- $options — JRegistry
Methods
public
- createPlace() — Method to create a new place object at the given latitude and longitude.
- getGeocode() — Method to get up to 20 places that can be used as a place_id when updating a status.
- getPlace() — Method to get all the information about a known place.
- getSimilarPlaces() — Method to locate places near the given coordinates which are similar in name.
- search() — Method to search for places that can be attached to a statuses/update.
Inherited from JTwitterObject
public
- checkRateLimit() — Method to check the rate limit for the requesting IP address
- fetchUrl() — 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.
- getOption() — Get an option from the JTwitterObject instance.
- getRateLimit() — Method to retrieve the rate limit for the requesting IP address
- sendRequest() — Method to send the request.
- setOption() — Set an option for the JTwitterObject instance.