0

我已经尝试过页面消息

具有所有必需的权限,即 read_mailbox、read_page_mailboxes 等(所有扩展权限)

最后我被尝试为

https://graph.facebook.com/456330641095467/conversations?access_token=BAAGgcfpJgfUBAHdKaE6KxMWo4rU6VU7psX7Ip4cLbG1yIvX80fkkTXm3ZApdYHmcISmqfnns1gPYZAHXWD2cXX7nMBcj4AK31uptfqJUjNAGXan1ftOK4Tw3sY1WsZD

但我得到回应

{
   "error": {
      "message": "(#210) Subject must be a page.",
      "type": "OAuthException",
      "code": 210
   }
}

我无法找出问题所在。请帮忙。

4

1 回答 1

0

只需使用页面的 access_token 即可

你的输出是这样的

{
   "data": [
      {
         "id": "t_id.615971188431960",
         "snippet": "ok fine reply on test 5:15",
         "updated_time": "2013-04-16T12:15:12+0000",
         "message_count": 8,
         "tags": {
            "data": [
               {
                  "name": "inbox"
               },
               {
                  "name": "read"
               },
               {
                  "name": "seen"
               },
               {
                  "name": "sent"
               },
               {
                  "name": "source:web"
               }
            ]
         },
         "participants": {
            "data": [
               {
                  "name": "Pragati Singh",
                  "email": "100000441901858\u0040facebook.com",
                  "id": "100000441901858"
               },
               {
                  "name": "Devdemo",
                  "email": "456330641095467\u0040facebook.com",
                  "id": "456330641095467"
               }
            ]
         },
         "senders": {
            "data": [
               {
                  "name": "Devdemo",
                  "email": "456330641095467\u0040facebook.com",
                  "id": "456330641095467"
               },
               {
                  "name": "Pragati Singh",
                  "email": "100000441901858\u0040facebook.com",
                  "id": "100000441901858"
               }
            ]
         },
于 2013-04-16T12:44:47.490 回答