Create a Broadcast Webhook in EXP with the following steps:
- Create a webhook on the Broadcast Webhook page: https://goexp.io/organization/broadcast-webhooks
- Enter a unique name for this webhook.
- Enter
flingas the event name. - Enter
organizationas the channel name to fling to all players. Alternatively, specify the uuid of a device or location to narrow the targeted players. - Save the webhook and open the detail view for the webhook you just created.
- Copy the url into
index.jsas the value of theWEBHOOK_URLvariable. - Modify the value of the
CONTENTvariable inindex.jsto specify a url of external content or the uuid of content within your organization.
Follow the Lambda Blueprint Wizard, located here:
https://aws.amazon.com/iotbutton/getting-started/
Copy the index.js file in this project into the Lambda function code editor.
Push button and enjoy!