Skip to content

Commit b564bc7

Browse files
afgielcolinloretz
andauthored
Apply suggestions from code review
Co-authored-by: Colin Loretz <[email protected]>
1 parent 5855f1b commit b564bc7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/activities/Development_Guides.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ Incentivized sharing can help grow your Activity through network effects. This g
898898
899899
When implementing sharing, you'll need to:
900900
1. Generate a unique ID for tracking the promotion
901-
2. Call the `shareLink` command
901+
2. Call the [`shareLink`](#DOCS_DEVELOPER_TOOLS_EMBEDDED_APP_SDK/sharelink) command
902902
3. Track the share attempt
903903
904904
```javascript
@@ -966,6 +966,8 @@ async function handleReferral() {
966966
- Handle edge cases like expired promotions gracefully
967967
- Consider implementing cool-down periods between shares
968968
969+
---
970+
969971
### Preventing unwanted activity sessions
970972
971973
Activities are surfaced through iframes in the Discord app. The activity website itself is publicly reachable at `<application_id>.discordsays.com`. Activities will expect to be able to communicate with Discord's web or mobile client via the Discord SDK's RPC protocol. If a user loads the activity's website in a normal browser, the Discord RPC server will not be present, and the activity will likely fail in some way.

0 commit comments

Comments
 (0)