Error 503 Encountered with Facebook API's GET /{live-video-id}/live_comments
Dear Developer Community,
I am currently facing a challenge with the Facebook API, specifically the GET /{live-video-id}/live_comments feature. My aim is to fetch live comments from a specific Facebook Live video. I have been following the official documentation and using the example code provided:
var source = new EventSource("https://streaming-graph.facebook.com/{live-video-id}/live_comments?access_token={access-token}"); source.onmessage = function(event) { // Code to handle event.message };
Please refer to my pictures for error conditions
However, every time I run this script, I encounter an Error 503 response. Despite trying various troubleshooting steps, the issue persists, which leads me to suspect a possible problem with the API itself.
I am reaching out to ask if anyone in the community has faced a similar issue and how you managed to resolve it. Any advice or shared experiences would be greatly appreciated.
Thank you all for your time and assistance.
Best regards,
Hank
I am facing the same issue, getting a 503 error. I believe there are two alternatives to using SSE, one is to poll the GET /{videoId}/comments endpoint, which eats up the request quota, so is unsustainable in the long run, and the other solution is to use webhooks, which is having its own issues currently. To recapitulate: - Method 1: using Server Sent Events: receives 503 error - Method 2: using polling /{video-id}/comments: consumes the request quota prematurely - Method 3: using webhooks: I am having an issue testing webhooks, which I've documented here.
Therefore, there currently seems to be no proper way to receive the chat on a live video.
I am facing the same issue, getting a 503 error. I believe there are two alternatives to using SSE, one is to poll the GET /{videoId}/comments endpoint, which eats up the request quota, so is unsustainable in the long run, and the other solution is to use webhooks, which is having its own issues currently. To recapitulate: - Method 1: using Server Sent Events: receives 503 error - Method 2: using polling /{video-id}/comments: consumes the request quota prematurely - Method 3: using webhooks: I am having an issue testing webhooks, which I've documented here.
Therefore, there currently seems to be no proper way to receive the chat on a live video.
I am facing the same issue, getting a 503 error. I believe there are two alternatives to using SSE, one is to poll the GET /{videoId}/comments endpoint, which eats up the request quota, so is unsustainable in the long run, and the other solution is to use webhooks, which is having its own issues currently. To recapitulate: - Method 1: using Server Sent Events: receives 503 error - Method 2: using polling /{video-id}/comments: consumes the request quota prematurely - Method 3: using webhooks: I am having an issue testing webhooks, which I've documented here.
Therefore, there currently seems to be no proper way to receive the chat on a live video.
I am facing the same issue, getting a 503 error. I believe there are two alternatives to using SSE, one is to poll the GET /{videoId}/comments endpoint, which eats up the request quota, so is unsustainable in the long run, and the other solution is to use webhooks, which is having its own issues currently. To recapitulate: - Method 1: using Server Sent Events: receives 503 error - Method 2: using polling /{video-id}/comments: consumes the request quota prematurely - Method 3: using webhooks: I am having an issue testing webhooks, which I've documented here.
Therefore, there currently seems to be no proper way to receive the chat on a live video.