PrerequisitesBefore you begin, you’ll need:
- A developer account with an approved App
- User Access Token (OAuth 1.0a or OAuth 2.0 PKCE)
Like a Post
1
Get your user ID
You need your authenticated user’s ID. You can find it using the user lookup endpoint or from your Access Token (the numeric part is your user ID).
2
Get the Post ID
Find the Post ID in the URL when viewing a Post:
3
Send the like request
cURL
4
Review the response
Unlike a Post
Remove a like from a Post:cURL