module Twitter::REST::Favorites
Direct including types
Defined in:
twitter/rest/favorites.crInstance Method Summary
-
#like(id : Int64) : Twitter::Tweet
Favorites (likes) the
Tweet
specified in the id parameter as the authenticating user. -
#unlike(id : Int64) : Twitter::Tweet
Unfavorites (un-likes) the
Tweet
specified in the id parameter as the authenticating user.
Instance Method Detail
def like(id : Int64) : Twitter::Tweet
#
Favorites (likes) the Tweet
specified in the id parameter as the authenticating user.
Returns the favorite Tweet
when successful.
def unlike(id : Int64) : Twitter::Tweet
#
Unfavorites (un-likes) the Tweet
specified in the id parameter as the authenticating user.
Returns the un-liked Tweet
when successful.