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 on
  • type: Type of reaction, it can be one of those three options
  • like
  • haha
  • downvote

Returns

{
    status: 200,
    doc: "kjzl6cwe1...e4wvxhiqj",
    result: "Success creating TileDocument."
  }

Next steps

Explore other parts of the API.

orbis.createPost()

orbis.updateProfile()