|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FavoriteMethods
| Method Summary | |
|---|---|
Status |
createFavorite(long id)
Favorites the status specified in the ID parameter as the authenticating user. |
Status |
destroyFavorite(long id)
Un-favorites the status specified in the ID parameter as the authenticating user. |
ResponseList<Status> |
getFavorites()
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format. |
ResponseList<Status> |
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. |
ResponseList<Status> |
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. |
ResponseList<Status> |
getFavorites(String id)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format. |
ResponseList<Status> |
getFavorites(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. |
ResponseList<Status> |
getFavorites(String id,
Paging paging)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format. |
| Method Detail |
|---|
ResponseList<Status> getFavorites()
throws TwitterException
TwitterException - when Twitter service or network is unavailable
ResponseList<Status> getFavorites(int page)
throws TwitterException
page - the number of page
TwitterException - when Twitter service or network is unavailable
ResponseList<Status> getFavorites(String id)
throws TwitterException
id - the ID or screen name of the user for whom to request a list of favorite statuses
TwitterException - when Twitter service or network is unavailable
ResponseList<Status> getFavorites(String id,
int page)
throws TwitterException
id - the ID or screen name of the user for whom to request a list of favorite statusespage - the number of page
TwitterException - when Twitter service or network is unavailable
ResponseList<Status> getFavorites(Paging paging)
throws TwitterException
paging - controls pagination. Supports sinceId and page parameters.
TwitterException - when Twitter service or network is unavailable
ResponseList<Status> getFavorites(String id,
Paging paging)
throws TwitterException
id - the ID or screen name of the user for whom to request a list of favorite statusespaging - controls pagination. Supports sinceId and page parameters.
TwitterException - when Twitter service or network is unavailable
Status createFavorite(long id)
throws TwitterException
id - the ID of the status to favorite
TwitterException - when Twitter service or network is unavailable
Status destroyFavorite(long id)
throws TwitterException
id - the ID of the status to un-favorite
TwitterException - when Twitter service or network is unavailable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||