Retrieve relevant followers for a given user

farcasterFollowers.getRelevantFollowersByFid

Overview

Returns a list of relevant followers for a specific FID.

Parameters

name
type
required
Note

target_fid

number

true

ex) 3

viewer_fid

number

true

ex) 3

Usage

let res = await Lum0x.farcasterFollowers.getRelevantFollowersByFid({
    target_fid: 721870,
    viewer_fid: 3
});
console.log(JSON.stringify(res, null, 2));

Response

{
  "top_relevant_followers_hydrated": [
    {
      "object": "follow",
      "user": {
        "object": "user",
        "fid": 369,
        "custody_address": "0xa19097b0b81529cae9514f914ceb604683c7fa20",
        "username": "robin",
        "display_name": "robin :•>",
        "pfp_url": "https://i.imgur.com/NXChCsx.jpg",
        "profile": {
          "bio": {
            "text": "co-conspirator @ /moshicam /gallery /djs • prev coinbase • my casts are endorsements, financial advice, and reflect my employer's opinions"
          }
        },
        "follower_count": 279378,
        "following_count": 1678,
        "verifications": [
          "0x70d04384b5c3a466ec4d8cfb8213efc31c6a9d15"
        ],
        "verified_addresses": {
          "eth_addresses": [
            "0x70d04384b5c3a466ec4d8cfb8213efc31c6a9d15"
          ],
          "sol_addresses": []
        },
        "active_status": "inactive",
        "power_badge": true
      }
    }
  ],
  "all_relevant_followers_dehydrated": [
    {
      "object": "follow",
      "user": {
        "object": "user_dehydrated",
        "fid": 369
      }
    }
  ]
}

FID

Username

Display Name

Profile Picture

Bio

Followers

Following

Verified ETH Addresses

Active Status

Power Badge

369

robin

robin :•>

co-conspirator @ /moshicam /gallery /djs • prev coinbase • my casts are endorsements, financial advice, and reflect my employer's opinions

279378

1678

0x70d04384b5c3a466ec4d8cfb8213efc31c6a9d15

inactive

true

Field Description

  • FID: User identifier

  • Username: User's username

  • Display Name: User's display name

  • Profile Picture: URL of the profile picture

  • Bio: User's introduction

  • Followers: Number of followers

  • Following: Number of users the person is following

  • Verified ETH Addresses: Verified Ethereum addresses

  • Active Status: User's activity status

  • Power Badge: Whether the user holds a power badge

Last updated