Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook streaming graph live comments works partly

I'm testing Facebook Live Comments (<--Link) API. On some live feeds it works partly, which means part of the comments shows in the original video but not in the HTTP GET reply. It filtered specific people, including myself.

On another streaming it was just polling, without showing any comment.

I need to get the comments while they are being posted, WITH the user id who sent it (that's why the Graph comments polling system is not suitable. No from_id)

How do I make the Live Comments work without this unclear filtering?

like image 930
mik Avatar asked Apr 25 '18 11:04

mik


People also ask

Why are comments on Facebook Live not showing?

Note: If you're viewing a live stream for a Page you don't follow on facebook.com, you may be prompted to follow the Page before your comment can be posted. If you leave a comment on the live stream of a Page you don't follow on the Facebook app, your comment will not be posted.

Why does Facebook limit comments on live?

Common reasons commenting may be limited or blocked: Comment sent too quickly: You can only comment once every ten seconds. Comment too short: Comments for this stream must be at least 100 characters. Follow streamer to comment: You must follow this streamer before you can leave a comment.

How can I see all comments on Facebook live stream?

Viewing Facebook Live Comments in Switcher Studio Once you have started your livestream, you can view incoming live comments. Tap the Live Comments tab (speech bubble icon) in the tab bar. As audience members comment, they will appear in chronological order, with the oldest comments on top and newest on bottom.


1 Answers

Unfortunately, due to recent Graph API changes, you won't be able to get the from field in many cases.

If this live video is on a Page, you can access the from field if you're using a page access token. If the live video is pretty much anywhere else, you're not going to be able to get the from field.

Also note that there are new throttling limits. Since you're getting comments on a video object, you can use the SSE endpoints to avoid these limits: https://developers.facebook.com/docs/graph-api/server-sent-events Note that an SSE endpoint for comments is not available on other object types.

like image 116
Brad Avatar answered Sep 24 '22 17:09

Brad