destroy
fun Favorites.destroy( id: Long, includeEntities: Boolean? = null, vararg options: Option): JsonObjectApiAction<Status>
Content copied to clipboard
Note: favorites are now known as likes. Unfavorites (un-likes) the Tweet specified in the ID parameter as the authenticating user. Returns the un-liked Tweet when successful. The process invoked by this method is asynchronous. The immediately returned Tweet object may not indicate the resultant favorited status of the Tweet. A 200 OK response from this method will indicate whether the intended action was successful or not.
Receiver
Favorites endpoint instance.
Return
JsonObjectApiAction for Status model.
Parameters
id
The numerical ID of the Tweet to like.
include Entities
The entities node will be omitted when set to false.
options
Optional. Custom parameters of this request.