Content pfp
Content
@
0 reply
20 recasts
20 reactions

KMac🍌 ⏩ ツ pfp
KMac🍌 ⏩ ツ
@kmacb.eth
Need guidance: Links to example code and docs pls. Llama are failing me. How to write to a hub to update profile bio (or other fields) using TS? Has to be from web app ie no node backend. Had done this in the past but much has changed since & can’t find an example. No neynar is not the answer. Has to call hub directly
1 reply
2 recasts
5 reactions

horsefacts πŸš‚ pfp
horsefacts πŸš‚
@horsefacts.eth
Send a UserDataAdd message: https://github.com/farcasterxyz/hub-monorepo/blob/50cd650ff8334d629afbed2e760f17584a366b65/packages/hub-nodejs/examples/write-data/index.ts#L245-L247
1 reply
0 recast
2 reactions

horsefacts πŸš‚ pfp
horsefacts πŸš‚
@horsefacts.eth
You need to sign it like all other messages, so it's unlikely you can do this directly from a web frontend unless it keeps the user's signer in local storage.
2 replies
0 recast
0 reaction