I’m wanting to perform likes and retweets and I see
TWTRTweetActionCompletion in the TwitterKit source:
/** * Completion block called when a Tweet action (favorite/retweet) is performed. * * @param response Metadata associated with the response to a URL load request. * @param tweet The Tweet object representing the new state of this Tweet from * the perspective of the currently-logged in user. * @param error Error object describing the error that occurred. This will be either a * network error or an NSError with an errorCode corresponding to * TWTRAPIErrorCodeAlreadyFavorited or TWTRAPIErrorCodeAlreadyRetweeted * for an attempted action that has already been taken from the servers * point of view for this logged-in user. */ public typealias TWTRTweetActionCompletion = (TWTRTweet?, NSError?) -> Void
But I can’t find anywhere in the TwitterKit API to perform a like or a retweet (apart from rolling my own manual request). Is this typealias just placeholder for future functionality or am I missing something?