You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Select the page you have created and get the Page Acess Token:
Click Deploy Button in our gitrepos README.md
Set the WIT_TOKEN, FB_PAGE_TOKEN, and FB_VERIFY_TOKEN.
Make sure it's sucess and view the app:
You may see something like this from https://{yourspecificedname}.herokuapp.com/:
""Only those who will risk going too far can possibly find out how far one can go." - T.S. Eliot"
Final step is put this server name in the facebok app page. From https://developers.facebook.com/apps/, select your app and messenger. You will see Webhooks:
Select "Setup Webhooks", and you will see callback URL and verify token. For the callback URL put your herokuapp URL + "/webhook". For example, my callback URL is https://fbwitbot.herokuapp.com/webhook.
Type the Verify Token
that you set. If you haven't set, the default value is "just_do_it".
Add a new app:

Select WWW platform:

Name it and click "Create New Facebook App ID":

Add email and select category:

Add website (any website is OK):
From https://developers.facebook.com/apps/, select the created app:
Select Messenger and get statred:

Select the page you have created and get the Page Acess Token:

Click Deploy Button in our gitrepos README.md
Set the WIT_TOKEN, FB_PAGE_TOKEN, and FB_VERIFY_TOKEN.

Make sure it's sucess and view the app:

You may see something like this from https://{yourspecificedname}.herokuapp.com/:
""Only those who will risk going too far can possibly find out how far one can go." - T.S. Eliot"
Final step is put this server name in the facebok app page. From https://developers.facebook.com/apps/, select your app and messenger. You will see Webhooks:
Select "Setup Webhooks", and you will see callback URL and verify token. For the callback URL put your herokuapp URL + "/webhook". For example, my callback URL is https://fbwitbot.herokuapp.com/webhook.
Type the Verify Token
that you set. If you haven't set, the default value is "just_do_it".
Click all items in the Subscription Fields.
Then, you will see green complete!

You may need to select the page one more time:
curl -X POST "https://graph.facebook.com/v2.6/me/subscribed_apps?access_token=<PAGE_ACCESS_TOKEN>"
You may see:
{"success":true}
Finally, go to the Facebook page, you created/selected and send a message there:

The text was updated successfully, but these errors were encountered: