Returns a GET handler that verifies a Meta (Instagram/Threads) webhook subscription.
Responds with hub.challenge when hub.verify_token matches the provided secret.
Used internally by setupInstagramWebhook and setupThreadsWebhook.
Parameters
secret: string
Expected hub.verify_token value (configured in the Meta Developer Portal).
Returns a GET handler that verifies a Meta (Instagram/Threads) webhook subscription. Responds with
hub.challengewhenhub.verify_tokenmatches the provided secret.Used internally by
setupInstagramWebhookandsetupThreadsWebhook.