sns-sdks / python-facebook

A simple Python wrapper for facebook graph api :sparkles: :cake: :sparkles: .
https://sns-sdks.github.io/python-facebook/
328 stars 86 forks source link

LiveVideo comment #193

Closed ObedH26 closed 1 year ago

ObedH26 commented 2 years ago

Hi there, Do this API support looking for live video's comment (I'm wondering for facebook but also ig), like checking if the userid has some live working out and picking its comment in real time ? I mean it would be neat if the live dont have to be launched from the developers app, anyway what's about it guys ?

MerleLiuKun commented 2 years ago

This library only support send requests by the Graph API provided by the facebook. So I don't konw your mean?

gitagogaming commented 2 years ago

I am also looking to get live video comments from a Facebook live feed..

Ive figured out how to get a video post and any polls for that video but cannot seem to find comments/messages associated with it just yet.

was wondering if you have learned anymore about this since last?

i just found some details but unsure how to subscribe properly

https://developers.facebook.com/docs/graph-api/server-sent-events/endpoints/live-comments/

MerleLiuKun commented 2 years ago

https://developers.facebook.com/docs/graph-api/server-sent-events/endpoints/live-comments/

This may a stream request, Maybe you can try it. Just set the request mode to stream.

And another way, I think you can use the webhook provided by facebook. You can see the docs at https://developers.facebook.com/docs/graph-api/webhooks.

MerleLiuKun commented 1 year ago

This #211 cover the Server-Sent-Events API. :)