public interface FavoritesResourcesAsync
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(long 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(long userId,
Paging paging)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
|
void |
getFavorites(Paging paging)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
|
void |
getFavorites(String screenName)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
|
void |
getFavorites(String screenName,
Paging paging)
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(long id)
id
- the id of the user for whom to request a list of favorite statusesvoid getFavorites(String screenName)
screenName
- the screen name of the user for whom to request a list of favorite statusesvoid getFavorites(Paging paging)
paging
- controls pagination. Supports sinceId and page parameters.void getFavorites(long userId, Paging paging)
userId
- the id of the user for whom to request a list of favorite statusespaging
- controls pagination. Supports sinceId and page parameters.void getFavorites(String screenName, Paging paging)
screenName
- the screen name of the user for whom to request a list of favorite statusespaging
- controls pagination. Supports sinceId and page parameters.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.Copyright © 2018. All rights reserved.