0

I am creating a Facebook Webhook. The callback link has been verified and so the connection should be okay.

When I further test the Webhook by pressing the test button under feed, enter image description here enter image description here

it seems it works.

However, nothing's received in my server, not even an access log in Apache. (I have checked both ssl_access_log and access_log) Any suggestion on what I have possibly missed?

cytsunny
  • 4,838
  • 15
  • 62
  • 129

2 Answers2

1

Did you forget to write POST request method ?

Facebook Webhook confirm callback URL in GET request, but they send event in POST request. So you need both GET and POST method in your server.

Do Minh Phong
  • 312
  • 5
  • 13
0

It turns out to be the problem of using vhosts. The vhosts is set up by my colleague and he decided to save the access log and error log putting in other position than the default location.

cytsunny
  • 4,838
  • 15
  • 62
  • 129