Bluesky
Engagement
Like, repost, bookmark, and quote Bluesky posts through Onepostly.
Bluesky engagement maps directly onto Onepostly's like / repost / bookmark surface.
Likes
await engagement.like({ id: postId, destinationIdBody: { destinationId } });;
await engagement.unlike({ id: postId, destinationId });;await engagement.like(id=post_id, destination_id_body={"destinationId": destination_id})
await engagement.unlike(id=post_id, destination_id=destination_id)curl -X POST https://api.onepostly.com/v1/posts/POST_ID/likes \
-H "x-api-key: op_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "destinationId": "DEST_ID" }'
curl -X DELETE "https://api.onepostly.com/v1/posts/POST_ID/likes?destinationId=DEST_ID" \
-H "x-api-key: op_YOUR_KEY"Reposts
await engagement.retweet({ id: postId, destinationIdBody: { destinationId } });;
await engagement.undoRetweet({ id: postId, destinationId });;
// List who reposted
const page = await engagement.listRetweeters({ id: postId, destinationId });;await engagement.retweet(id=post_id, destination_id_body={"destinationId": destination_id})
await engagement.undo_retweet(id=post_id, destination_id=destination_id)
# List who reposted
page = await engagement.list_retweeters(
id=post_id, {post_id, destination_id=destination_id}
)curl -X POST https://api.onepostly.com/v1/posts/POST_ID/retweets \
-H "x-api-key: op_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "destinationId": "DEST_ID" }'
curl -X DELETE "https://api.onepostly.com/v1/posts/POST_ID/retweets?destinationId=DEST_ID" \
-H "x-api-key: op_YOUR_KEY"
# List who reposted
curl "https://api.onepostly.com/v1/posts/POST_ID/retweets?destinationId=DEST_ID&limit=25" \
-H "x-api-key: op_YOUR_KEY"Bookmarks
await engagement.bookmark({ id: postId, destinationIdBody: { destinationId } });;
await engagement.removeBookmark({ id: postId, destinationId });;await engagement.bookmark(id=post_id, destination_id_body={"destinationId": destination_id})
await engagement.remove_bookmark(id=post_id, destination_id=destination_id)curl -X POST https://api.onepostly.com/v1/posts/POST_ID/bookmarks \
-H "x-api-key: op_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{ "destinationId": "DEST_ID" }'
curl -X DELETE "https://api.onepostly.com/v1/posts/POST_ID/bookmarks?destinationId=DEST_ID" \
-H "x-api-key: op_YOUR_KEY"Bookmarks are private to your account.
Quotes
Quote with quoteTweetId on create. See Posts → Quote.