Content pfp
Content
@
0 reply
0 recast
0 reaction

Pau 🎩 ⛓️‍πŸ’₯ pfp
Pau 🎩 ⛓️‍πŸ’₯
@p4u
Hey, listenπŸ‘‚this week's new feature has been deployed at farcaster.vote Now you can create Farcaster gated polls πŸ—³οΈ for your Alfafrens channel subscribers!! πŸš€ Follow @vocdoni to stay up to date with new developments.
2 replies
6 recasts
12 reactions

Pau 🎩 ⛓️‍πŸ’₯ pfp
Pau 🎩 ⛓️‍πŸ’₯
@p4u
We made a mistake using the Alfafrens new API, we did not consider pagination, lol 🫠 We are fixing it. Pools won't work properly until then. cc/ @taimonania
2 replies
0 recast
1 reaction

Pau 🎩 ⛓️‍πŸ’₯ pfp
Pau 🎩 ⛓️‍πŸ’₯
@p4u
So @vijay there is something wrong with the API. We are using this method https://docs.alfafrens.com/docs/alfafrens-api/get-channel-subscribers-and-stakes But it returns fewer subscribers than the ones shown by the Alfafrens UI. I.e for @taimonania it returns a total of 153 subs, while the UI says 375.
1 reply
0 recast
1 reaction

Pau 🎩 ⛓️‍πŸ’₯ pfp
Pau 🎩 ⛓️‍πŸ’₯
@p4u
We paginate with first=200&skip=0 then first=200&skip=200 then first=200&skip=400 and so on. Until "hasMore" is false. Which seems correct on our side. We take only the FID if "member.isSubscribed" is true. I hope it is the API wrong and not the Alfafrens UI showing a wrong number of subs 😘
1 reply
0 recast
0 reaction

Pau 🎩 ⛓️‍πŸ’₯ pfp
Pau 🎩 ⛓️‍πŸ’₯
@p4u
I think I found the issue @vijay, there is a hardcoded limit of 1000 for the skip parameter. So if the channel has more items, they cannot be fetch... { "message": "first and skip must be less than 1000", "code": "PAYLOAD_TOO_LARGE" }
3 replies
0 recast
0 reaction

Axe pfp
Axe
@naxe
you have a field "hasMore" is true you need to paginate to get the missing data
1 reply
0 recast
1 reaction

Pau 🎩 ⛓️‍πŸ’₯ pfp
Pau 🎩 ⛓️‍πŸ’₯
@p4u
Sure, we are aware of that, see here https://warpcast.com/p4u/0x96769e6e
0 reply
0 recast
0 reaction