0

我正在尝试回复任何对我的直播发表评论的用户。

我可以通过 API 获取这些用户信息

  "data": [
    {
      "created_time": "2021-08-16T01:24:06+0000",
      "from": {
        "name": "pesonel1",
        "id": "4766742930024754"
      },
      "message": "test1",
      "id": "1222971094808569_1222971548141857"
    },
    {
      "created_time": "2021-08-16T01:24:23+0000",
      "from": {
        "name": "personel2",
        "id": "4314395298618867"
      },
      "message": "test2",
      "id": "1222971094808569_1222971741475171"
    }
  ],
  "paging": {
    "cursors": {
      "before": "QVFIUmVvMGdtRFh5VlBqUERnYXEtelhTYUJWOHJQVnpkQ0pYazVBSHhOR3R6dzNoMlhsTnJJQ1dUemVmUklsbEFNU29vOHJTN1EzZAE8xQWc0TGhybHZAIN1pR",
      "after": "QVFIUlVkcUJrdlpiY1pvbk5UeFY3Ri0zdHFjeDVidC13ODdidmotS3VEYVZAaLVJBU2RDN2g3S2JORmZA0b2F4cno0VDBIVG4zdVE2emNNQ2hvZAmsyTDRYRHBR"
    }
  }

但是当我通过发送 api 向用户发送消息时,我得到

"error": {
    "message": "(#551) This person isn't available right now。",
    "type": "OAuthException",
    "code": 551,
    "error_subcode": 1545041,
    "fbtrace_id": "
Apc6vx_GqxKPMp_aeBbz5Fd
"
  }

比我通过私人回复向这些用户发送消息,我得到

"error": {
    "message": "(#100) This is not a visitor post, you cannot privately reply to it.",
    "type": "OAuthException",
    "code": 100,
    "fbtrace_id": "
A28rSdbH_Or-VJ1qNbuDyhR
"
  }

我该如何解决这些错误?

附言。很抱歉有任何拼写错误。英语不是我的母语。

4

0 回答 0