Bookmark a tweet
Bookmark a tweet by ID. Requires the bookmark.write OAuth scope. Rate limit: 50 requests per 15-min window.
API key authentication - use your Zernio API key as a Bearer token
In: header
The social account ID
The ID of the tweet to bookmark
Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.twitterengagement.bookmarkPost({ body: { accountId: 'account_abc123', tweetId: 'tweet_abc123', },});console.log(data);{
"status": "success",
"tweetId": "string",
"bookmarked": true,
"platform": "twitter"
}{
"error": "Unauthorized"
}Look up a tweet GET
Resolve a single tweet by ID or URL into its text, author and public metrics. Use this to render a post you are referencing, e.g. the tweet quoted by a quote-style post. Unlike `/v1/twitter/search` this is not limited to the last 7 days and works for any tweet visible to the connected account. Billed as an X posts read ($0.005). Repeat lookups of the same tweet within the same UTC day are charged once.
Follow a user POST
Follow a user on X/Twitter. Requires the follows.write OAuth scope. For protected accounts, a follow request is sent instead (pending_follow will be true).