Reputation: 59
I follow the instruction provided by diaglogflow as the below, however, it did not work. The "Get Started" button do pop up for my page's messenger, but click on it or say words in the default welcome message (I did set the intent as Facebook welcome) doesn't trigger any response. Do I miss any setting?
Pic.1 Get started do appear but no response:
Steps provided by diaglogflow:
Pic.2 Integration setting in dialogflow(left) and messenger setting in Facebook(right):
Pic. 3 Default welcome intent in diaglogflow and it's response(I had clicked the save button):
Pic4. Messenger set up for Webhook version
Upvotes: 0
Views: 564
Reputation: 2795
It seems you've configured the webhook for your app. Make sure you've subscribed your app to a Facebook Page.
Click 'Add or Remove Pages' and select the pages you want to subscribe your app to. Your webhook will receive events for each selected page when people chat with it through Messenger.
In the 'Access Tokens' section there will be a Generate Token button for each authorized Page. Make sure to save the access token, it's needed to send messages using the Send API.
For each authorizedPage, the 'Webhooks' section will contain the fields the
app can subscribe to. Click on "Add Subscriptions" to select desired fields.
At a minimum, we recommend you choose messages and messaging_postbacks
to get started.
Don't forget to choose message_postbacks
. If still you face the issue re-configure the webhook. In addition test your messenger response from dialogflow from right side try it --> hi/hello --> and click default response change it to messenger if you can see the expected message from response tab that means you are missing something from page integration. I am attaching a snapshot of checking messenger response from dialogflow:
Upvotes: 3
Reputation: 59
To add Tasnuva's answer, the subscription button is in the field of:
"messenger setting--> webhooks--> add/remove page right side button."
I was once confused by the add/remove page at the access page token field.
Click the button in the red square to edit it:
Upvotes: 0