joe
joe

Reputation: 9464

First time setup webhook. How to subscribe to `message` in the webhook setting?

I would like to have a log chat on my own server by collecting them from the chat history between user and my Facebook page.

I found the document mention about message message setting

Next after I can verify my token using ngrok get my server connected with Facebook. Then I am looking for message.

In my understanding I have to listen to my page event. But I could not found and row mentions about it.

I found message_sends in the User. But it is not what I want. enter image description here enter image description here

I think document might not get uptodate. In the picture it is 2 and now it is 3.

Obviously subscription to User and select message_sends is not a correct solution on my use case. My case is user send message to my page. And my page send webhook to my chatlog server. That's all.

Question:
How to connect message on my page to my webhook url?

Upvotes: 1

Views: 138

Answers (1)

joe
joe

Reputation: 9464

I have to use messenger and then Subscribe To Events messenger

Found it

Upvotes: 1

Related Questions