Neynar Documentation
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
When a user interacts with your app, events will be sent from the Farcaster client to your application client. Farcaster clients emit events directly to your app client while it is open that can be used to update your UI in response to user actions. To listen to events, you have to use sdk.on to register callbacks ( see full example). Listeners can be cleaned up with sdk.removeListener() or sdk.removeAllListeners().
Events
miniappAdded
The user added the Mini App.
miniappRemoved
The user removed the Mini App.
notificationsEnabled
The user enabled notifications after previously having them disabled.
notificationsDisabled
The user disabled notifications.