{#
"Setup guide" popup of the Facebook & Instagram page.
vars: redirect_uri, app_domain, webhook_url, verify_token, https, keys_saved, connected, got_lead
#}
{% macro copy(label, value) %}
{% if label %}{{ label }}{% endif %}
{{ value }}
{% endmacro %}
{% macro part(n, title, done=false, link=None, link_label='Open') %}
{{ title }}
{% if link %}
{{ icon('external-link', 'h-3.5 w-3.5') }}{{ link_label }}
{% endif %}
{{ caller() }}
{{ title }}
Before you start
{{ icon('circle-alert', 'h-5 w-5 shrink-0') }}This panel is open on http, not https. Meta will refuse it. Open the panel on its https address, or set app_url in your code.
It takes about 15 minutes. Meta changes its screens now and then, so if a name differs a little, pick the closest one.