public interface HelpResources
Modifier and Type | Interface and Description |
---|---|
static interface |
HelpResources.Language |
Modifier and Type | Method and Description |
---|---|
TwitterAPIConfiguration |
getAPIConfiguration()
Returns the current configuration used by Twitter including twitter.com slugs which are not usernames, maximum photo resolutions, and t.co URL lengths.
It is recommended applications request this endpoint when they are loaded, but no more than once a day. |
ResponseList<HelpResources.Language> |
getLanguages()
Returns the list of languages supported by Twitter along with their ISO 639-1 code.
|
String |
getPrivacyPolicy()
Returns Twitter's Privacy Policy.
|
Map<String,RateLimitStatus> |
getRateLimitStatus()
Returns the current rate limits for methods belonging to the specified resource families.
Each 1.1 API resource belongs to a "resource family" which is indicated in its method documentation. |
Map<String,RateLimitStatus> |
getRateLimitStatus(String... resources)
Returns the current rate limits for methods belonging to the specified resource families.
Each 1.1 API resource belongs to a "resource family" which is indicated in its method documentation. |
String |
getTermsOfService()
Returns Twitter's' Terms of Service.
|
TwitterAPIConfiguration getAPIConfiguration() throws TwitterException
TwitterException
- when Twitter service or network is unavailableResponseList<HelpResources.Language> getLanguages() throws TwitterException
TwitterException
- when Twitter service or network is unavailableString getPrivacyPolicy() throws TwitterException
TwitterException
- when Twitter service or network is unavailableString getTermsOfService() throws TwitterException
TwitterException
- when Twitter service or network is unavailableMap<String,RateLimitStatus> getRateLimitStatus() throws TwitterException
TwitterException
- when Twitter service or network is unavailableMap<String,RateLimitStatus> getRateLimitStatus(String... resources) throws TwitterException
resources
- resourcesTwitterException
- when Twitter service or network is unavailableCopyright © 2018. All rights reserved.