Is followed by me

You need to know if the logged-in user is following the profile it's viewing, to do this you need to look at the isFollowingByMe property on the profile response. This is shown in the examples when fetching back a profile. It will always be false if calling when not logged in but when passing in the auth header it will work out if that wallet has is following the profile.

API Design basic

please note the example below doesn't pick all the content out of the profile it just shows you the field used to get that back.

query Profile {
  profile(request: { profileId: "0x01" }) {
    isFollowedByMe
  }
}

Did this page help you?