Content
@
https://warpcast.com/~/channel/miniapps
0 reply
0 recast
0 reaction
veganbeef
@veganbeef
Curious how your mini app notifications are performing? Want to know if one notification drove more clicks than another? @neynar now offers advanced notification analytics for customers using the Neynar starter kit or the MiniAppProvider from @neynar/react See the updated notifications guide for more info on how to set this up, and please reach out with any comments or questions πͺ https://docs.neynar.com/docs/send-notifications-to-mini-app-users#send-notifications-to-mini-app-users
2 replies
3 recasts
29 reactions
Sinaver Idrisov
@sinaver.eth
love neynar notifications, one question is it possible to know if user has enabled notification or not? I know if I pass fid, and it's not enabled you will ignore it. But what if we want to have condition: if enabled notify through push, otherwise send DC or reply. I can fetch all tokens, and filter out if one enabled, but would be nice just to have an API.
1 reply
0 recast
1 reaction
veganbeef
@veganbeef
We don't currently have an API that both sends notifications and also sends casts or DCs, but if you'd rather not query notification tokens directly, you can do it with just two APIs: 1) broadcast to all your tokens with neynar's POST /farcaster/frame/notifications route 2) read the response from the POST request to see the FIDs from all failed notifications, and send a DC or reply cast for those failed FIDs you can see the structure of the notifications response here: https://docs.neynar.com/reference/publish-frame-notifications#send-notifications
1 reply
0 recast
2 reactions