Vladyslav Dalechyn
@dalechyn.eth
I'm sending this cast from fhub. It contains mentions of @farcaster, @dalechyn.eth, @dalechyn.eth. It also contains a cast embed (https://warpcast.com/dalechyn.eth/0x9c0a228b). I sent it using just a string. It also contains a cool cat pic at the end
4 replies
3 recasts
23 reactions
vrypan |--o--|
@vrypan.eth
What's the string format? Is it a json or something else? I'm adding casting functionality to fargo, and I'm trying to find a good convention to pass the cast details to the command.
1 reply
0 recast
1 reaction
Vladyslav Dalechyn
@dalechyn.eth
It is actually just a string, you can check the implementation here https://github.com/dalechyn/fhub/blob/79dfeb93224eb30573b6d9350ae9cb46e7122ed1/src/Internal/Actions/Cast/create.ts#L18 I parse the mentions and embeds out if it myself.
1 reply
0 recast
1 reaction
vrypan |--o--|
@vrypan.eth
Oh, nice. So, you use the cast text, and extract mentions and embeds. Cool!
0 reply
0 recast
1 reaction