I
I
Ilya Flakin2017-02-05 17:41:13
Python
Ilya Flakin, 2017-02-05 17:41:13

Working with facebook webhook, why doesn't it work?

Hello.
Guys tell me where I made a mistake or what I did not do.
It is necessary to receive a webhook from facebook (hereinafter referred to as FB) when updating a user's live video.
I decided to first place the script on heroku (because Facebook requires a certificate).
I set everything up according to the instructions https://developers.facebook.com/docs/graph-api/webhooks , when I specify the callback_url, I see that the check is passing - everything is fine.
Notifications began to come, and the next day "everything is gone!" (c) ... How cut off that I just didn’t do it, but that’s all. The callback_url itself is available, but according to the logs, there are even no calls to it.
I check from my user (I create a live video), as a developer, of course I have the application installed, send notifications are enabled in the settings.
I decided that it was because of heroku - I transferred it to a different site where the application "does not fall asleep", everything was set up there (and the certificate too). In the settings on FB, I registered everything again - it's useless, they don't come and that's it. What should I do?b4b9a856fcdc42299282019eaf8de4d3.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Flakin, 2017-02-06
@ILYHA

I didn't read the documentation carefully. It turned out that in order to receive notifications, the application must have access rights for the specified category. In my case, it was necessary to request the rights to the video.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question