Content pfp
Content
@
0 reply
0 recast
0 reaction

Wayne Worth pfp
Wayne Worth
@alongcamewayne
i want to count likes on replies to a cast in the most efficient way. - /v2/farcaster/cast has a reactions object with separate likes and recasts arrays - /v1/farcaster/all-casts-in-thread has a reactions array and a recasts array can i safely assume reactions = likes in the latter?
2 replies
0 recast
0 reaction

Wayne Worth pfp
Wayne Worth
@alongcamewayne
cc @rish @manan
1 reply
0 recast
0 reaction

rish pfp
rish
@rish
why do you want to use v1 instead of v2? you can just count the likes in the v2 response?
1 reply
0 recast
0 reaction

Wayne Worth pfp
Wayne Worth
@alongcamewayne
yeah, but then i'd need to send an api call for each reply cast
1 reply
0 recast
0 reaction

Wayne Worth pfp
Wayne Worth
@alongcamewayne
whereas i'd get them all in one request in the /v1 endpoint
1 reply
0 recast
0 reaction

rish pfp
rish
@rish
I see, makes sense. Yeah reactions = likes in the v1 endpoint. We copied the response terminology from Warpcast APIs back in the day for v1 and then created our own for v2
1 reply
0 recast
1 reaction