@Remoteable(path="https://api.twitter.com/1.1/account")
public interface Account
| Modifier and Type | Method and Description |
|---|---|
AccountSettings |
settings()
Returns settings (including current trend, geo and sleep time information) for the authenticating user.
|
User |
updateProfile(UpdateProfileRequest parameters)
Sets some values that users are able to set under the “Account” tab of their settings page.
|
AccountSettings |
updateSettings(UpdateProfileRequest parameters)
Updates the authenticating user’s settings.
|
User |
verifyCredentials()
Returns user credentials for the authenticating user.
|
@RemoteMethod(httpMethod="GET",
path="/settings.json")
AccountSettings settings()
@RemoteMethod(httpMethod="GET",
path="/verify_credentials.json")
User verifyCredentials()
@RemoteMethod(httpMethod="POST",
path="/update_profile.json")
User updateProfile(@Body
UpdateProfileRequest parameters)
@RemoteMethod(httpMethod="POST",
path="/update_settings.json")
AccountSettings updateSettings(@Body
UpdateProfileRequest parameters)
Copyright © 2018 The Apache Software Foundation. All rights reserved.