Package | Description |
---|---|
twitter4j |
general package for Twitter4J
|
twitter4j.api |
APIs represents Twitter API resources
|
Modifier and Type | Method and Description |
---|---|
Query |
Query.count(int count)
sets the number of tweets to return per page, up to a max of 100
|
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.
|
Query |
Query.lang(String lang)
restricts tweets to the given language, given by an ISO 639-1 code
|
Query |
Query.locale(String locale)
Specify the language of the query you are sending (only ja is currently effective).
|
Query |
Query.maxId(long maxId)
If specified, returns tweets with status ids less than the given id.
|
Query |
QueryResult.nextQuery()
Returns a Query instance to fetch next page or null if there is no next page.
|
Query |
Query.query(String query)
Sets the query string
|
Query |
Query.resultType(Query.ResultType resultType)
If specified, returns tweets included popular or real time or both in the response
|
Query |
Query.since(String since)
If specified, returns tweets with since the given date.
|
Query |
Query.sinceId(long sinceId)
returns tweets with status ids greater than the given id.
|
Query |
Query.until(String until)
If specified, returns tweets with generated before the given date.
|
Modifier and Type | Method and Description |
---|---|
QueryResult |
SearchResource.search(Query query)
Returns tweets that match a specified query.
|
Copyright © 2018. All rights reserved.