orbis.getProfileFollowers()

Retrieve followers of a specific did.

How to use?

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

Parameters

  • did: Did of the user being followed

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.getProfileFollowing()

orbis.getConversations()