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
fling
as the event name. - Enter
organization
as 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.js
as the value of theWEBHOOK_URL
variable. - Modify the value of the
CONTENT
variable inindex.js
to 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!