public interface FavoriteMethodsAsync
Modifier and Type | Method and Description |
---|---|
void |
createFavorite(long id)
Favorites the status specified in the ID parameter as the authenticating user.
|
void |
destroyFavorite(long id)
Favorites the status specified in the ID parameter as the authenticating user.
|
void |
getFavorites()
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
|
void |
getFavorites(int page)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
|
void |
getFavorites(java.lang.String id)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
|
void |
getFavorites(java.lang.String id,
int page)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
|
void getFavorites()
void getFavorites(int page)
page
- number of page to retrieve favoritesvoid getFavorites(java.lang.String id)
id
- the ID or screen name of the user for whom to request a list of favorite statusesvoid getFavorites(java.lang.String id, int page)
id
- the ID or screen name of the user for whom to request a list of favorite statuses.page
- retrieves the 20 next most recent favorite statuses.void createFavorite(long id)
id
- the ID or screen name of the user for whom to request a list of favorite statuses.void destroyFavorite(long id)
id
- the ID or screen name of the user for whom to request a list of un-favorite statuses.