Fetches reactions for a given user

farcasterReaction.getReactionByUser

Overview

Fetches reactions for a given user

Parameters

name
type
required
Note

fid

number

true

ex) 3

viewer_fid

number

false

ex) 3

type

string

true

"all", "likes" or "recasts"

limit

number

false

default: 25, max: 100

cursor

string

false

ex) eyJwYWdlIjoyfQ==

Usage

let res = await Lum0x.farcasterReaction.getReactionByUser({
    fid: 721870,
    type: "all",
    limit: 3
});
console.log(JSON.stringify(res, null, 2));

Response

{
  "reactions": [
    {
      "reaction_type": "like",
      "cast": {
        "object": "cast",
        "hash": "0xa4d2341430937360535557817d8a12e6a4831742",
        "thread_hash": "0xa4d2341430937360535557817d8a12e6a4831742",
        "parent_hash": null,
        "parent_url": "https://warpcast.com/~/channel/degenpad",
        "root_parent_url": "https://warpcast.com/~/channel/degenpad",
        "parent_author": {
          "fid": null
        },
        "author": {
          "object": "user",
          "fid": 434908,
          "custody_address": "0x8eb55f1501eec37b75051ef93b968aa12b2cfb44",
          "username": "degenpad",
          "display_name": "DegenPad🎩🐹",
          "pfp_url": "https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/6acaa881-827f-40bc-5047-9593b1fa7200/rectcrop3",
          "profile": {
            "bio": {
              "text": "Use your $DEGEN Tips, Support new projects on /degenpad $DPAD\n\nWebsite: https://degenpad.app"
            }
          },
          "follower_count": 17128,
          "following_count": 77,
          "verifications": [
            "0xd5a589b294b4a1687554faf18572640e6024efe4"
          ],
          "verified_addresses": {
            "eth_addresses": [
              "0xd5a589b294b4a1687554faf18572640e6024efe4"
            ],
            "sol_addresses": []
          },
          "active_status": "inactive",
          "power_badge": true
        },
        "text": "Seoul Seoul Seoul!🇰🇷\n\nWe're excited to announce that, in partnership with @lum0x , we'll be co-hosting the FarSight Summit Community Event at Korea Blockchain Week 2024. \n\nWe can’t wait to see the collaboration between \n@base <> @farcaster <> Lum0x <> Degenpad and the amazing Korean builders in Frame!",
        "timestamp": "2024-08-16T15:19:55.000Z",
        "embeds": [
          {
            "url": "https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/dbb3e128-da9a-40ae-0203-005277efab00/original",
            "metadata": {
              "content_type": "image/png",
              "content_length": "519113",
              "_status": "RESOLVED",
              "image": {
                "width_px": 720,
                "height_px": 720
              }
            }
          },
          {
            "cast_id": {
              "fid": 721870,
              "hash": "0x2cca27cf3270871b290a0c7f35f02bccc550f3f1"
            }
          }
        ],
        "reactions": {
          "likes_count": 36,
          "recasts_count": 8,
          "likes": [
            {
              "fid": 449044,
              "fname": "pedramiix"
            },
            {
              "fid": 819414,
              "fname": "meye"
            },
            {
              "fid": 644048,
              "fname": "sqibw"
            },
            {
              "fid": 500371,
              "fname": "10poon"
            },
            {
              "fid": 508575,
              "fname": "whitegoats"
            }
          ],
          "recasts": [
            {
              "fid": 700091,
              "fname": "kb534"
            },
            {
              "fid": 324916,
              "fname": "dkdkdkdkdkdkdk.eth"
            },
            {
              "fid": 376945,
              "fname": "marufm05"
            },
            {
              "fid": 7415,
              "fname": "franklynr"
            },
            {
              "fid": 276562,
              "fname": "esss"
            }
          ]
        },
        "replies": {
          "count": 10
        },
        "channel": {
          "object": "channel_dehydrated",
          "id": "degenpad",
          "name": "degenpad",
          "image_url": "https://i.imgur.com/oqbL1tP.png"
        },
        "mentioned_profiles": [
          {
            "object": "user",
            "fid": 721870,
            "custody_address": "0x63cd09948b05e5d8367226b0c83a16b583862191",
            "username": "lum0x",
            "display_name": "Lum0x",
            "pfp_url": "https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/74970e01-bcf7-4ef7-31d7-238f5814b200/original",
            "profile": {
              "bio": {
                "text": "illuminate your builder journey with Lum0x 💡\n\nhttps://lum0x.com/",
                "mentioned_profiles": []
              }
            },
            "follower_count": 37,
            "following_count": 2,
            "verifications": [],
            "verified_addresses": {
              "eth_addresses": [],
              "sol_addresses": []
            },
            "active_status": "inactive",
            "power_badge": false
          },
          {
            "object": "user",
            "fid": 12142,
            "custody_address": "0x04e6f111ebf6fd25576d480480962435dc3aa8d8",
            "username": "base",
            "display_name": "Base",
            "pfp_url": "https://i.imgur.com/7Q0QBrm.jpg",
            "profile": {
              "bio": {
                "text": "base.org",
                "mentioned_profiles": []
              }
            },
            "follower_count": 117002,
            "following_count": 172,
            "verifications": [
              "0x9652721d02b9db43f4311102820158abb4ecc95b"
            ],
            "verified_addresses": {
              "eth_addresses": [
                "0x9652721d02b9db43f4311102820158abb4ecc95b"
              ],
              "sol_addresses": []
            },
            "active_status": "inactive",
            "power_badge": true
          },
          {
            "object": "user",
            "fid": 1,
            "custody_address": "0x8773442740c17c9d0f0b87022c722f9a136206ed",
            "username": "farcaster",
            "display_name": "Farcaster",
            "pfp_url": "https://i.imgur.com/I2rEbPF.png",
            "profile": {
              "bio": {
                "text": "A sufficiently decentralized social network. farcaster.xyz",
                "mentioned_profiles": []
              }
            },
            "follower_count": 21811,
            "following_count": 2,
            "verifications": [
              "0x86924c37a93734e8611eb081238928a9d18a63c0"
            ],
            "verified_addresses": {
              "eth_addresses": [
                "0x86924c37a93734e8611eb081238928a9d18a63c0"
              ],
              "sol_addresses": []
            },
            "active_status": "inactive",
            "power_badge": false
          }
        ]
      },
      "reaction_timestamp": "2024-08-17T13:23:25.000Z",
      "object": "likes"
    },
    {
      "reaction_type": "like",
      "cast": {
        "object": "cast",
        "hash": "0xbc3d78949c35c7ca2e76113063029ffd21cc8fc6",
        "thread_hash": "0xbc3d78949c35c7ca2e76113063029ffd21cc8fc6",
        "parent_hash": null,
        "parent_url": "chain://eip155:7777777/erc721:0x4f86113fc3e9783cf3ec9a552cbb566716a57628",
        "root_parent_url": "chain://eip155:7777777/erc721:0x4f86113fc3e9783cf3ec9a552cbb566716a57628",
        "parent_author": {
          "fid": null
        },
        "author": {
          "object": "user",
          "fid": 324916,
          "custody_address": "0x478d286fcf81da5030549737eae44c65a7784d5f",
          "username": "degenwtf.eth",
          "display_name": "Degen.wtf🎩🐹🩸",
          "pfp_url": "https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/f0e91a06-2a85-4a5b-f9ab-0c98f14ecd00/original",
          "profile": {
            "bio": {
              "text": "intern @degenpad | /art-layer 🖼 | Meme Posting Lover | 🟣🔵🎩 | Homage of naiivememe "
            }
          },
          "follower_count": 1311,
          "following_count": 497,
          "verifications": [
            "0xcc825984115b92f05464cb8e69424be39a904373",
            "0x9434d5ed552f880a84d812648d1b63509d831aa7",
            "0x528b5ba6437809f548bcc0ef9c1349f41787b0c6"
          ],
          "verified_addresses": {
            "eth_addresses": [
              "0xcc825984115b92f05464cb8e69424be39a904373",
              "0x9434d5ed552f880a84d812648d1b63509d831aa7",
              "0x528b5ba6437809f548bcc0ef9c1349f41787b0c6"
            ],
            "sol_addresses": []
          },
          "active_status": "inactive",
          "power_badge": false
        },
        "text": "Go To Market🇰🇷\nWho can I meet during Korea Blockchain Week 2024?\n\n@degenpad X @base X @farcaster X @lum0x",
        "timestamp": "2024-08-16T15:22:06.000Z",
        "embeds": [
          {
            "cast_id": {
              "fid": 434908,
              "hash": "0xa4d2341430937360535557817d8a12e6a4831742"
            }
          }
        ],
        "reactions": {
          "likes_count": 3,
          "recasts_count": 1,
          "likes": [
            {
              "fid": 696843,
              "fname": "zeronine"
            },
            {
              "fid": 721870,
              "fname": "lum0x"
            },
            {
              "fid": 817079,
              "fname": "mashaodessa"
            }
          ],
          "recasts": [
            {
              "fid": 817079,
              "fname": "mashaodessa"
            }
          ]
        },
        "replies": {
          "count": 2
        },
        "channel": {
          "object": "channel_dehydrated",
          "id": "farcaster",
          "name": "Farcaster",
          "image_url": "https://ipfs.decentralized-content.com/ipfs/bafkreialf5usxssf2eu3e5ct37zzdd553d7lg7oywvdszmrg5p2zpkta7u"
        },
        "mentioned_profiles": [
          {
            "object": "user",
            "fid": 434908,
            "custody_address": "0x8eb55f1501eec37b75051ef93b968aa12b2cfb44",
            "username": "degenpad",
            "display_name": "DegenPad🎩🐹",
            "pfp_url": "https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/6acaa881-827f-40bc-5047-9593b1fa7200/rectcrop3",
            "profile": {
              "bio": {
                "text": "Use your $DEGEN Tips, Support new projects on /degenpad $DPAD\n\nWebsite: https://degenpad.app",
                "mentioned_profiles": []
              }
            },
            "follower_count": 17128,
            "following_count": 77,
            "verifications": [
              "0xd5a589b294b4a1687554faf18572640e6024efe4"
            ],
            "verified_addresses": {
              "eth_addresses": [
                "0xd5a589b294b4a1687554faf18572640e6024efe4"
              ],
              "sol_addresses": []
            },
            "active_status": "inactive",
            "power_badge": true
          },
          {
            "object": "user",
            "fid": 12142,
            "custody_address": "0x04e6f111ebf6fd25576d480480962435dc3aa8d8",
            "username": "base",
            "display_name": "Base",
            "pfp_url": "https://i.imgur.com/7Q0QBrm.jpg",
            "profile": {
              "bio": {
                "text": "base.org",
                "mentioned_profiles": []
              }
            },
            "follower_count": 117002,
            "following_count": 172,
            "verifications": [
              "0x9652721d02b9db43f4311102820158abb4ecc95b"
            ],
            "verified_addresses": {
              "eth_addresses": [
                "0x9652721d02b9db43f4311102820158abb4ecc95b"
              ],
              "sol_addresses": []
            },
            "active_status": "inactive",
            "power_badge": true
          },
          {
            "object": "user",
            "fid": 1,
            "custody_address": "0x8773442740c17c9d0f0b87022c722f9a136206ed",
            "username": "farcaster",
            "display_name": "Farcaster",
            "pfp_url": "https://i.imgur.com/I2rEbPF.png",
            "profile": {
              "bio": {
                "text": "A sufficiently decentralized social network. farcaster.xyz",
                "mentioned_profiles": []
              }
            },
            "follower_count": 21811,
            "following_count": 2,
            "verifications": [
              "0x86924c37a93734e8611eb081238928a9d18a63c0"
            ],
            "verified_addresses": {
              "eth_addresses": [
                "0x86924c37a93734e8611eb081238928a9d18a63c0"
              ],
              "sol_addresses": []
            },
            "active_status": "inactive",
            "power_badge": false
          },
          {
            "object": "user",
            "fid": 721870,
            "custody_address": "0x63cd09948b05e5d8367226b0c83a16b583862191",
            "username": "lum0x",
            "display_name": "Lum0x",
            "pfp_url": "https://imagedelivery.net/BXluQx4ige9GuW0Ia56BHw/74970e01-bcf7-4ef7-31d7-238f5814b200/original",
            "profile": {
              "bio": {
                "text": "illuminate your builder journey with Lum0x 💡\n\nhttps://lum0x.com/",
                "mentioned_profiles": []
              }
            },
            "follower_count": 37,
            "following_count": 2,
            "verifications": [],
            "verified_addresses": {
              "eth_addresses": [],
              "sol_addresses": []
            },
            "active_status": "inactive",
            "power_badge": false
          }
        ]
      },
      "reaction_timestamp": "2024-08-17T13:23:19.000Z",
      "object": "likes"
    }
  ],
  "cursor": null
}

Reaction Type
Author
Text
Timestamp
Likes Count
Recasts Count
Reactions
Replies Count
Channel
Mentioned Profiles

Like

DegenPad🎩🐹

Seoul Seoul Seoul!🇰🇷 We're excited to announce that, in partnership with @lum0x, we'll be co-hosting the FarSight Summit Community Event at Korea Blockchain Week 2024. We can’t wait to see the collaboration between @base <> @farcaster <> Lum0x <> Degenpad and the amazing Korean builders in Frame!

2024-08-16T15:19:55.000Z

36

8

[Likes: pedramiix, meye, sqibw, 10poon, whitegoats] [Recasts: kb534, dkdkdkdkdkdkdk.eth, marufm05, franklynr, esss]

10

Degenpad

[Lum0x, Base, Farcaster]

Like

Degen.wtf🎩🐹🩸

Go To Market🇰🇷 Who can I meet during Korea Blockchain Week 2024? @degenpad X @base X @farcaster X @lum0x

2024-08-16T15:22:06.000Z

3

1

[Likes: zeronine, lum0x, mashaodessa] [Recasts: mashaodessa]

2

Farcaster

[DegenPad🎩🐹, Base, Farcaster, Lum0x]

Field Description

  • Reaction Type: The type of reaction (e.g., Like).

  • Reaction Timestamp: The time when the reaction occurred.

  • Object: The target of the reaction.

  • Cast Details: Details about the cast (hash, parent hash, text, etc.).

  • Author: Information about the author of the cast.

  • Text: The content of the cast.

  • Timestamp: The time when the cast was created.

  • Embeds: Attached images or referenced casts.

  • Reactions: The number of likes and recasts for the cast.

  • Likes: List of users who liked the cast.

  • Recasts: List of users who recast the cast.

  • Replies Count: The number of replies to the cast.

  • Channel: Information about the channel where the cast was posted.

  • Mentioned Profiles: Profiles mentioned in the cast.

Last updated