Package | Description |
---|---|
twitter4j |
general package for Twitter4J
|
twitter4j.api |
APIs represents Twitter API resources
|
twitter4j.json |
this package is deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Location |
TwitterObjectFactory.createLocation(String rawJSON)
Constructs a Location object from rawJSON string.
|
Location |
Trends.getLocation()
Returns the location associated with the trends.
This method is effective only with getLocalTrends() method. i.e. |
Location[] |
AccountSettings.getTrendLocations()
Return the user's trend locations
|
Modifier and Type | Method and Description |
---|---|
ResponseList<Location> |
TrendsResources.getAvailableTrends()
Returns the locations that Twitter has trending topic information for.
|
ResponseList<Location> |
TrendsResources.getClosestTrends(GeoLocation location)
Returns the locations that Twitter has trending topic information for, closest to a specified location.
The response is an array of "locations" that encode the location's WOEID and some other human-readable information such as a canonical name and country the location belongs in. A WOEID is a Yahoo! Where On Earth ID. |
Modifier and Type | Method and Description |
---|---|
static Location |
DataObjectFactory.createLocation(String rawJSON)
Deprecated.
Constructs a Location object from rawJSON string.
|
Copyright © 2018. All rights reserved.