Lum0x SDK
  • Lum0x-sdk
    • Getting started
    • Examples
      • Case 1 : Find my Fan
      • Case 2: Fetch user's Moxie earning
      • Case 3: Raffle events among the filtered casts
      • How to Deploy a Project with Vercel
    • FarcasterUser
      • Search for Usernames
      • Fetch users based on FIDs
      • Fetch power user objects
      • Fetches users based on Eth or Sol addresses
      • Lookup a user by custody-address
      • Retrieve all channels that a given fid follows
      • Get User Information by username
      • Get Recent Users
    • FarcasterCast
      • Retrieve cast for a given hash or Warpcast URL
      • Retrieve casts for a given user
      • Gets information about an array of casts
      • Retrieve the conversation for a given cast
      • Get Recent Casts
    • FarcasterFeed
      • Retrieve casts based on filters
      • Retrieve trending casts
    • FarcasterReaction
      • Fetches reactions for a given user
      • Fetches reactions for a given cast
    • FarcasterFollowers
      • Retrieve followers for a given user
      • Retrieve relevant followers for a given user
      • Retrieve a list of users followed by a user
    • FarcasterStorage
      • Fetches storage allocations for a given user
      • Fetches storage usage for a given user
    • FarcasterFname
      • Check if a given fname is available
    • FarcasterMute
      • Get fids that a user has muted
    • FarcasterChannel
      • Retrieve all channels with their details
      • Search for channels based on id or name
      • (Bulk) Retrieve channels by id or parent_url
      • Retrieve channel details by id or parent_url
      • Retrieve followers for a given channel
      • Get channels that a user is active in
      • Check If User Follows Channel
      • Retrieve trending channels based on activity
    • FarcasterNotification
      • Retrieve notifications for a given user
    • FarcasterMoxie
      • Retrieve Moxie earning status
      • Retrieve FarScore and FarRank
      • Retrieve Moxie airdrop claim status
      • Retrieve Moxie earning details for cast.
      • Retrieve Moxie earning details for reply.
      • Retrieve Moxie earning details for cast by fid.
      • Retrieve Moxie earning details for reply by fid.
      • Retrieve Moxie earning details from channel cast.
Powered by GitBook
On this page
  • Overview
  • Parameters
  • Usage
  • Response
  • Field Description
  1. Lum0x-sdk
  2. FarcasterUser

Retrieve all channels that a given fid follows

farcasterUser.getChannelsFollowedByFid

Overview

Returns a list of all channels with their details that a fid follows.

Parameters

name
type
required
Note

fid

number

true

ex) 3

limit

number

false

default: 25, max: 100

cursor

string

false

ex) eyJwYWdlIjoyfQ==

Usage

let res = await Lum0x.farcasterUser.getChannelsFollowedByFid({
    fid: 3,
    limit: 3
});
console.log(JSON.stringify(res, null, 2));

Response

{
  "channels": [
    {
      "id": "follow-friday",
      "url": "https://warpcast.com/~/channel/follow-friday",
      "name": "follow-friday",
      "description": "\"If everyone just recommended one person to all of their followers once a week, it would be awesome\"",
      "follower_count": 30,
      "object": "channel",
      "image_url": "https://i.imgur.com/slAEnUj.png",
      "created_at": 1724266543,
      "parent_url": "https://warpcast.com/~/channel/follow-friday",
      "lead": {
        "object": "user",
        "fid": 3621,
        "custody_address": "0x2cd85a093261f59270804a6ea697cea4cebecafe",
        "username": "horsefacts.eth",
        "display_name": "horsefacts",
        "pfp_url": "https://i.imgur.com/rt8TGdY.jpg",
        "profile": {
          "bio": {
            "text": "I'm eth newbie..just learning\n(working on @farcaster)\n\nterminally.online"
          }
        },
        "follower_count": 301207,
        "following_count": 3409,
        "verifications": [
          "0x79d31bfca5fda7a4f15b36763d2e44c99d811a6c",
          "0x075b108fc0a6426f9dec9a5c18e87eb577d1346a",
          "0x4d940b31dee0db0ce75af30878d9ce30dc7bd109",
          "0x1a8b7cee23e54d8c3891fcc5409842c9cde345e1",
          "0xcfe57ca65bca3c9218bb379065cddfb69bd1dcb4",
          "0x3f56e996934c952a074672ffdbe51042e046c80a",
          "0x075b108fc0a6426f9dec9a5c18e87eb577d1346a"
        ],
        "verified_addresses": {
          "eth_addresses": [
            "0x79d31bfca5fda7a4f15b36763d2e44c99d811a6c",
            "0x075b108fc0a6426f9dec9a5c18e87eb577d1346a",
            "0x4d940b31dee0db0ce75af30878d9ce30dc7bd109",
            "0x1a8b7cee23e54d8c3891fcc5409842c9cde345e1",
            "0xcfe57ca65bca3c9218bb379065cddfb69bd1dcb4",
            "0x3f56e996934c952a074672ffdbe51042e046c80a",
            "0x075b108fc0a6426f9dec9a5c18e87eb577d1346a"
          ],
          "sol_addresses": [
            "GAR98Ray1ewPvCrhayunzSaV6N39nckGsD3dKh5UwG4n"
          ]
        },
        "active_status": "inactive",
        "power_badge": true
      },
      "moderator": null
    },
    {
      "id": "glimmer",
      "url": "https://warpcast.com/~/channel/glimmer",
      "name": "glimmer ✨",
      "description": "glimmer.so - coming soon",
      "follower_count": 303,
      "object": "channel",
      "image_url": "https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/4a91e798-fb92-44fa-7fb8-c1e048747800/original",
      "created_at": 1724197108,
      "parent_url": "https://warpcast.com/~/channel/glimmer",
      "lead": {
        "object": "user",
        "fid": 3887,
        "custody_address": "0x333601a803cac32b7d17a38d32c9728a93b422f4",
        "username": "slokh",
        "display_name": "Kartik",
        "pfp_url": "https://i.imgur.com/B9BuItx.jpg",
        "profile": {
          "bio": {
            "text": "building with @emo.eth / prev: manifold.xyz opensea.io"
          }
        },
        "follower_count": 274986,
        "following_count": 440,
        "verifications": [
          "0x333601a803cac32b7d17a38d32c9728a93b422f4"
        ],
        "verified_addresses": {
          "eth_addresses": [
            "0x333601a803cac32b7d17a38d32c9728a93b422f4"
          ],
          "sol_addresses": []
        },
        "active_status": "inactive",
        "power_badge": true
      },
      "moderator": null
    },
    {
      "id": "farcasterfridays",
      "url": "https://warpcast.com/~/channel/farcasterfridays",
      "name": "Farcaster Fridays",
      "description": "farcasters getting together on the first friday of every month to convene and connect IRL in cities around the globe.\n\nAustin -  \nNYC -  \nSF -  \nToronto -  \nBangalore -  \nTokyo -  \nLA - ",
      "follower_count": 91,
      "object": "channel",
      "image_url": "https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/b65e16ec-57d2-4004-a850-5a627aa2fe00/original",
      "created_at": 1724083430,
      "parent_url": "https://warpcast.com/~/channel/farcasterfridays",
      "lead": {
        "object": "user",
        "fid": 239,
        "custody_address": "0xc67925418dc80265720244594c632b258a5c78e8",
        "username": "ted",
        "display_name": "ted (not lasso)",
        "pfp_url": "https://openseauserdata.com/files/fd28c65d9b5192168fb259009a3afd36.png",
        "profile": {
          "bio": {
            "text": "/ted | exploring the onchain frontier | surfing @ venice, ca | eating @ gjusta / gjelina"
          }
        },
        "follower_count": 364567,
        "following_count": 861,
        "verifications": [
          "0x0aa34eb615ab330b64060ff9fa994e72a7a95b59"
        ],
        "verified_addresses": {
          "eth_addresses": [
            "0x0aa34eb615ab330b64060ff9fa994e72a7a95b59"
          ],
          "sol_addresses": []
        },
        "active_status": "inactive",
        "power_badge": true
      },
      "moderator": {
        "object": "user",
        "fid": 239,
        "custody_address": "0xc67925418dc80265720244594c632b258a5c78e8",
        "username": "ted",
        "display_name": "ted (not lasso)",
        "pfp_url": "https://openseauserdata.com/files/fd28c65d9b5192168fb259009a3afd36.png",
        "profile": {
          "bio": {
            "text": "/ted | exploring the onchain frontier | surfing @ venice, ca | eating @ gjusta / gjelina"
          }
        },
        "follower_count": 364567,
        "following_count": 861,
        "verifications": [
          "0x0aa34eb615ab330b64060ff9fa994e72a7a95b59"
        ],
        "verified_addresses": {
          "eth_addresses": [
            "0x0aa34eb615ab330b64060ff9fa994e72a7a95b59"
          ],
          "sol_addresses": []
        },
        "active_status": "inactive",
        "power_badge": true
      }
    }
  ],
  "next": {
    "cursor": "eyJwYWdlIjoxLCJsaW1pdCI6M30"
  }
}

채널 정보

Channel ID

Name

Description

Follower Count

Image URL

Created At

Lead Custody Address

Lead Username

Lead Display Name

Lead Profile Pic URL

Lead Follower Count

Lead Following Count

Lead Bio

Lead Verified ETH Addresses

Lead Verified SOL Addresses

follow-friday

follow-friday

"If everyone just recommended one person to all of their followers once a week, it would be awesome"

30

1724266543

0x2cd85a093261f59270804a6ea697cea4cebecafe

horsefacts.eth

horsefacts

301207

3409

I'm eth newbie..just learning (working on @farcaster)\n\nterminally.online

0x79d31bfca5fda7a4f15b36763d2e44c99d811a6c, 0x075b108fc0a6426f9dec9a5c18e87eb577d1346a, 0x4d940b31dee0db0ce75af30878d9ce30dc7bd109, 0x1a8b7cee23e54d8c3891fcc5409842c9cde345e1, 0xcfe57ca65bca3c9218bb379065cddfb69bd1dcb4, 0x3f56e996934c952a074672ffdbe51042e046c80a, 0x075b108fc0a6426f9dec9a5c18e87eb577d1346a

GAR98Ray1ewPvCrhayunzSaV6N39nckGsD3dKh5UwG4n

glimmer

glimmer ✨

glimmer.so - coming soon

303

1724197108

0x333601a803cac32b7d17a38d32c9728a93b422f4

slokh

Kartik

274986

440

building with @emo.eth / prev: manifold.xyz opensea.io

0x333601a803cac32b7d17a38d32c9728a93b422f4

없음

farcasterfridays

Farcaster Fridays

farcasters getting together on the first friday of every month to convene and connect IRL in cities around the globe.\n\nAustin - \nNYC - \nSF - \nToronto - \nBangalore - \nTokyo - \nLA -

91

1724083430

0xc67925418dc80265720244594c632b258a5c78e8

ted

ted (not lasso)

364567

861

/ted

exploring the onchain frontier

surfing @ venice, ca

Field Description

  • Channel ID: The unique identifier for the channel.

  • Name: The name of the channel.

  • Description: A description of the channel.

  • Follower Count: The number of followers the channel has.

  • Image URL: The URL of the channel's image.

  • Created At: The creation timestamp of the channel (UNIX timestamp).

  • Lead Custody Address: The wallet address of the channel's lead.

  • Lead Username: The username of the lead.

  • Lead Display Name: The display name of the lead.

  • Lead Profile Pic URL: The URL of the lead's profile picture.

  • Lead Follower Count: The number of followers the lead has.

  • Lead Following Count: The number of people the lead is following.

  • Lead Bio: A biography of the lead.

  • Lead Verified ETH Addresses: A list of Ethereum addresses verified by the lead.

  • Lead Verified SOL Addresses: A list of Solana addresses verified by the lead.

  • Moderator: Information about the channel's moderator (the moderator might be the same as the lead or separately set).

PreviousLookup a user by custody-addressNextGet User Information by username

Last updated 9 months ago