orbis.react()
Used to react to a post
shared on Orbis.
How to use?
let res = await orbis.react("kjzl6cwe1...e4wvxhiqj", "like");
Parameters
post_id
: ID of the post the user is reacting ontype
: Type of reaction, it can be one of those three optionslike
haha
downvote
Returns
{
status: 200,
doc: "kjzl6cwe1...e4wvxhiqj",
result: "Success creating TileDocument."
}
Next steps
Explore other parts of the API.