|
|||||||||
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(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. |
ResponseList<Status> |
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. |
Method Detail |
---|
ResponseList<Status> getFavorites() throws TwitterException
TwitterException
- when Twitter service or network is unavailableResponseList<Status> getFavorites(int page) throws TwitterException
page
- the number of page
TwitterException
- when Twitter service or network is unavailableResponseList<Status> getFavorites(java.lang.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 unavailableResponseList<Status> getFavorites(java.lang.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 unavailableStatus createFavorite(long id) throws TwitterException
id
- the ID of the status to favorite
TwitterException
- when Twitter service or network is unavailableStatus 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 |