Last updated
Last updated
Social Boost refers to the act of inviting friends to assist in gaining additional discounts, rewards, or get whitelisted, etc. It can help web3 projects with user acquisition. This document will outline the necessary development tasks for using this event and provide an example implementation code for reference.
This key distinguishes users across various projects and is used for gathering operational data in events and chats.
Email developer@sending.network with the subject "Developer Key Request." Include your name and a brief project overview, detailing its purpose and scope.
The SDN chat widget is a chat tool that can be easily integrated into your website using a few lines of code. The event page will appear in an iframe window within the widget. To start, integrate the widget into your website. You can access the SDK Documentation .
When project operators create an event, a unique event link is generated: https://DOMAIN_NAME/event/{id}.
Following user-initiated boosts, distinct share links are formed, containing event and boost IDs.
You can add a button for users to initiate boosts. Clicking should:
(If applicable) Check boost prerequisites, for instance, ensuring users have registered on your website beforehand. Skip this step if no special requirements exist.
Open the chat widget window with .
Log into the chat widget via . If you'd like to connect the website login and chat widget login together, please refer to the method .
The event page will show and the user can start inviting friends to help.
Event operators can assign event banners and reward icons using image URLs. Ensure that these images do not require CORS authentication to prevent loading issues. For images on your server, grant access permission to the following domain:
https://eventadmin.sending.network
https://events.sending.network
If you require a customized event address, embed sdnChatWidget.js into your project page and refer to the mentioned methods for passing or parsing URL parameters.