#activities-announcements
1 messages · Page 1 of 1 (latest)
Embedded App SDK v2.0.0 and Custom Incentivized Links for Activities
✨ Hello!! I'm Anthony, new to the developer relations team at Discord! ✨
We've made some changes to the Embedded App SDK:
Custom Incentivized Links are used to customize how your incentivized link embed appears to users. You can create them in the developer portal or generate them from within your activity. Incentivized Links can be used as referral links, promotions, deep-linking into your activity, and more.
- shareLink will now let you attach custom params to links you share about your game using
custom_id - shareLink can tell you if someone copied or shared the link
⚠️We also have one breaking change from 1.9 (if you're not using referrer_id for shareLink you can ignore this!)
- Removed
referrer_idfrom shareLink API
Any uses ofreferrer_idshould be moved over to usecustom_idinstead. Passingreferrer_idto shareLink will silently fail (if you're using Typescript you'll see an error in your code).
🔗 Learn more about creating and managing Custom Incentivized Links and how to generate them from within your activity with the shareLink API
📄 Check out the release notes and the changelog for more info!
The Embedded App SDK is available via npm and GitHub. You can check out our installation guide and reference to get started with it!
-# Future Activities announcements will be posted to #activities-announcements. If you are building Activities with the Embedded App SDK, you can follow that announcement channel in your own server to stay up to date with new updates. Follow #api-announcements for platform-wide announcements.
🫂 Relationships.read scope 🫂
We've opened up the relationships.read scope for Activities under the Social SDK terms! To get access to the scope you will need to accept the Social SDK terms for your app in the Social SDK settings. Requesting approval for this scope from Discord is no longer necessary. With this scope getRelationships() in the embedded app SDK will now return a player's relationships.
Check out the changelog for more info