\JTwitterTrends
Twitter API Trends class for the Joomla Platform.
Synopsis
class JTwitterTrends
extends JTwitterObject
{
- // Inherited members from JTwitterObject
- protected JRegistry $options;
- protected JHttp $client;
- protected JTwitterOAuth $oauth;
- // methods
- public array getTrends()
- public array getLocations()
- public array getClosest()
- // 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
- getClosest() — Method to get the locations that Twitter has trending topic information for, closest to a specified location.
- getLocations() — Method to get the locations that Twitter has trending topic information for.
- getTrends() — Method to get the top 10 trending topics for a specific WOEID, if trending information is available for it.
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.