Case 1 : Find my Fan
guide on how to create the desired frame using Lum0x.
"I want to know the reaction rankings of the FIDs that have interacted with my most recent 100 casts. Who's been reacting to my posts the most?"
Step 1 : To determine the reaction rankings, we'll first need to identify the necessary data.
Retrieves and processes Casts for a specific user, calculates scores, and returns a sorted list of users. Lum0x.farcasterCast.getCastsByFid
Retrieves the display names of users given their FIDs Lum0x.farcasterUser.getUserByFids
Step 2 : To use Lum0x, you need to get an API key.
2) farcaster login
3) Get API key
Step 3 : Write business logic
1) Install Lum0x SDK
2) code
Step 4 (Optional) : Frame generator on https://buildathon.lum0x.com/
When data is entered, a table-like frame is automatically generated.
1) Adjust the data format as follows
The supported data formats are as follows.
CSV(Comma-Separated Values)
The first row serves as a header, representing the name of each column (userId, gender, phone). Each subsequent row represents a record (or data entry), containing values corresponding to each column.
JSON (JavaScript Object Notation)
Last updated