mik
mik

Reputation: 809

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?

Upvotes: 7

Views: 2333

Answers (1)

Brad
Brad

Reputation: 163548

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.

Upvotes: 1

Related Questions