orbis.getProfileFollowing()

Returns users following a specific did.

How to use?

let { data, error } = await orbis.getProfileFollowing(did);

Parameters

  • did: Did of the user following

Returns

[
  {
  	did: "did:pkh:...",
  	details: {
      did: "did:pkh:...",
      profile: {
        username: "Baptiste",
    		description: "",
    		pfp: "https://..."
      }
  	}
  },
  {
  	did: "did:pkh:...",
  	details: {
      did: "did:pkh:...",
      profile: {
        username: "Baptiste",
    		description: "",
    		pfp: "https://..."
      }
  	}
  },
  ...
]

Next steps

Explore other parts of the API.

orbis.getIsFollowing()

orbis.getProfileFollowers()