orbis.setFollow()

Will get users to follow or unfollow other users.

How to use?

let res = await orbis.setFollow("did:pkh:...", true);

Parameters

  • did: string Did of the user being followed/unfollowed
  • active: boolean true if the user is following, false if unfollowing

Returns

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

Next steps

Explore other parts of the API.

orbis.updateProfile()

orbis.createGroup()