Content pfp
Content
@
0 reply
0 recast
0 reaction

lucas pfp
lucas
@lucasw99
what's the best way to get the channel a cast in posted in through neynar's api? it doesn't seem like channel id is returned from the /v2/farcaster/casts endpoint (only thing is root_parent_url, which isn't channel id but seems related to channels)
2 replies
0 recast
0 reaction

lucas pfp
lucas
@lucasw99
it seems like i have to use https://github.com/neynarxyz/farcaster-channels/blob/main/warpcast.json to map the parent url to channel id (reference: https://docs.neynar.com/docs/fetching-casts-from-memes-channel-in-farcaster) how often does the warpcast.json mapping get updated? it hasn't been updated in 2 weeks
0 reply
0 recast
0 reaction

rish pfp
rish
@rish
yes the parent_url // root_parent_url is the channel at protocol level since channels were built on top of FIP 2 You can parse the channel id out of the url, its after the last /. There are older chain:// urls, mapping to channel id for those is here: github.com/neynarxyz/farcaster-channels/blob/main/warpcast.json
1 reply
0 recast
1 reaction