JTwitterTrends::getTrends
Method to get the top 10 trending topics for a specific WOEID, if trending information is available for it.
Signature
public function getTrends(integer
$id,
[string
$exclude = null] )
Parameters
-
$id
- The Yahoo! Where On Earth ID of the location to return trending information for.
-
$exclude
- Setting this equal to hashtags will remove all hashtags from the trends list.
Returns
- array
- The decoded JSON response