setFollow
Follow or unfollow another user.
Profile from which the user will be (un)followed is determined by the currently authenticated DID in Orbis SDK.
How to use?
const res = await orbis.setFollow(did, isFollowing);
Parameters
did
- DID a user to follow or unfollowisFollowing
-boolean
eithertrue
orfalse
, follow or unfollow respectively
Returns
{
status: 200,
doc: "kjzl6cwe1...e4wvxhiqj",
result: "Success creating TileDocument."
}