Qodex.ai
Qodex.ai
Introduction
Twitter API v2
Tweet Lookup
Single Tweet UsercontextMultiple Tweets
User Lookup
User by IDUsers by IDUser by UsernameUsers by UsernameAuthenticated User Lookup
Follows
Followers of user IDUsers a user ID is followingFollow a user IDUnfollow a user ID
Blocks
Block a user IDBlocks lookupUnblock a user ID
List-List lookup
List by IDUser owned Lists
List-Manage Lists
Create a listDelete a listUpdate a list
List-List Tweets
List Tweets lookup
List-List members
Add a memberRemove a memberMembers lookupUser memberships
List-List follows
Follow a listUnfollow a listFollower lookupUser's followed Lists
List-Pinned Lists
Pin a listUnpin a listUser's pinned Lists
Manage Tweets
Create a TweetDelete a Tweet
Mutes
Mute a user IDUnmute a user IDMutes lookup
Timelines
User Tweet timeline by IDUser mention timeline by ID
Hide Replies
Unhide a reply
Search Tweets
Recent searchFull-archive search
Tweet Counts
Recent Tweet countsFull-archive Tweet counts
Filtered Stream
Delete Rules (by rule value)Retrieve RulesStream (see description)
Sampled Stream
Stream (see description)
Spaces-Spaces lookup
Spaces lookup by single IDSpaces lookup by list of IDsLookup Spaces created by one or more usersUsers who bought a ticket to a Space
Spaces-Search Spaces
Search Spaces by title
Batch Compliance
Create a batch compliance jobGet all batch compliance jobsGet a compliance job by ID
Likes
Like a TweetLiked TweetsLiking usersUnlike a Tweet
Retweets
Retweet a TweetRetweeted byUndo a Retweet
Introduction
Twitter API v2
Tweet Lookup
Single Tweet UsercontextMultiple Tweets
User Lookup
User by IDUsers by IDUser by UsernameUsers by UsernameAuthenticated User Lookup
Follows
Followers of user IDUsers a user ID is followingFollow a user IDUnfollow a user ID
Blocks
Block a user IDBlocks lookupUnblock a user ID
List-List lookup
List by IDUser owned Lists
List-Manage Lists
Create a listDelete a listUpdate a list
List-List Tweets
List Tweets lookup
List-List members
Add a memberRemove a memberMembers lookupUser memberships
List-List follows
Follow a listUnfollow a listFollower lookupUser's followed Lists
List-Pinned Lists
Pin a listUnpin a listUser's pinned Lists
Manage Tweets
Create a TweetDelete a Tweet
Mutes
Mute a user IDUnmute a user IDMutes lookup
Timelines
User Tweet timeline by IDUser mention timeline by ID
Hide Replies
Unhide a reply
Search Tweets
Recent searchFull-archive search
Tweet Counts
Recent Tweet countsFull-archive Tweet counts
Filtered Stream
Delete Rules (by rule value)Retrieve RulesStream (see description)
Sampled Stream
Stream (see description)
Spaces-Spaces lookup
Spaces lookup by single IDSpaces lookup by list of IDsLookup Spaces created by one or more usersUsers who bought a ticket to a Space
Spaces-Search Spaces
Search Spaces by title
Batch Compliance
Create a batch compliance jobGet all batch compliance jobsGet a compliance job by ID
Likes
Like a TweetLiked TweetsLiking usersUnlike a Tweet
Retweets
Retweet a TweetRetweeted byUndo a Retweet
HomeTwitter API v2LikesLike a Tweet

Like a Tweet

POST https://api.twitter.com/2/users/:id/likes

Allows an authenticated user to like a Tweet.

For full details, see the API reference for this endpoint.

Request Body

{"tweet_id"=>"tweet-id-you-want-to-like"}
Previous
Likes
Next
Liked Tweets