@ambassadorai/photobooth-webview

A package that can be included in the chat webview component, or the Messenger webview host. You should pass one of either `token` or `signedRequest` depending on the environment.

Usage no npm install needed!

<script type="module">
  import ambassadoraiPhotoboothWebview from 'https://cdn.skypack.dev/@ambassadorai/photobooth-webview';
</script>

README

Photobooth webview

A package that can be included in the chat webview component, or the Messenger webview host. You should pass one of either token or signedRequest depending on the environment.

Environment variables

API_URL - URL to the /webview/photobooth API on the dashboard. CHAT_TOKEN - JWT token provided by the chat app.