从直播视频中获取实时评论 Facebook-live-api

Get real-time comments from videos live Facebook-live-api

我正在设置端点以接收来自直播视频的实时评论,我顺利地按照本文中的步骤操作:https://developers.facebook.com/docs/graph-api/server-sent-events/endpoints/live-comments/

有一个人对我的直播视频直接评论了两次,我也得到了那2条评论,但是这2条评论中那个人的“id”不同。谁能解释一下这个问题,有什么办法可以解决这个问题。

var source = new EventSource(
'https://streaming-graph.facebook.com/{live-video-id}/live_comments?access_token={access_token}&comment_rate=one_per_two_seconds&fields=from{name,id},message');

source.onmessage = function(event) {
  console.log(event.data);
};

response 1: { "from": { name: "Joe Commenter", "id": 126577551217199 },"message": "I like it!" }

response 2: { "from": { name: "Joe Commenter", "id": 23567175551752 },"message": "Great photo!" }

它们是两个不同的帐户,可能是一个建立配置文件的机器人,稍后用于发送垃圾邮件。