Content pfp
Content
@
https://warpcast.com/~/channel/fc-devs
0 reply
0 recast
0 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
@deodad Pls help: > If your are sending the same notification to multiple users, you batch up to a 100 sends in a single request by providing multiple tokens. Should each batch use a different notificationId or the same?
2 replies
0 recast
5 reactions

Tony D’Addeo pfp
Tony D’Addeo
@deodad
these are request level idempotency keys so different, will triple check and add a clarification to the docs
1 reply
0 recast
1 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
If they have to be different, it adds complexity to the sender, as they have to keep track of all the notificationIds that correspond to what they consider a single notification ("I want to send this to all my subscribers"). It may be a good idea to rethink this part. For example, I would like to be able to re-send the same notificationId with updated content.
2 replies
0 recast
0 reaction

vrypan |--o--| pfp
vrypan |--o--|
@vrypan.eth
Or at least rename it to requestId. BTW, there's nothing stopping an other app accepting more than 100, say 1000, without breaking something. And then we will have requestIds all over the place, some corresponding to 100s, some to 256s, etc.
0 reply
0 recast
0 reaction

Tony D’Addeo pfp
Tony D’Addeo
@deodad
a bit confused by the last part about resending but i think what you’re suggesting is that we make notificationId-fid the idempotency key?
1 reply
0 recast
0 reaction