Package | Description |
---|---|
twitter4j |
general package for Twitter4J
|
twitter4j.api |
APIs represents Twitter API resources
|
Modifier and Type | Method and Description |
---|---|
GeoLocation[][] |
Place.getBoundingBoxCoordinates() |
GeoLocation |
Status.getGeoLocation()
Returns The location that this tweet refers to if available.
|
GeoLocation[][] |
Place.getGeometryCoordinates() |
GeoLocation |
GeoQuery.getLocation() |
GeoLocation |
StatusUpdate.getLocation() |
Modifier and Type | Method and Description |
---|---|
Query |
Query.geoCode(GeoLocation location,
double radius,
Query.Unit unit)
returns tweets by users located within a given radius of the given latitude/longitude, where the user's location is taken from their Twitter profile
|
Query |
Query.geoCode(GeoLocation location,
double radius,
String unit)
Deprecated.
|
StatusUpdate |
StatusUpdate.location(GeoLocation location) |
void |
Query.setGeoCode(GeoLocation location,
double radius,
Query.Unit unit)
returns tweets by users located within a given radius of the given latitude/longitude, where the user's location is taken from their Twitter profile
|
void |
Query.setGeoCode(GeoLocation location,
double radius,
String unit)
Deprecated.
|
void |
StatusUpdate.setLocation(GeoLocation location) |
Constructor and Description |
---|
GeoQuery(GeoLocation location)
Creates a GeoQuery with the specified location
|
GeoQuery(String query,
String ip,
GeoLocation location)
Creates a GeoQuery with the specified query, ip and location
|
Modifier and Type | Method and Description |
---|---|
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. |
ResponseList<Place> |
PlacesGeoResources.getSimilarPlaces(GeoLocation location,
String name,
String containedWithin,
String streetAddress)
Locates places near the given coordinates which are similar in name.
|
Copyright © 2018. All rights reserved.