0

我已經試過Page Messages如何獲得Facebook粉絲頁面通過FQL或圖形

與所有必要的許可即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 
    } 
} 

我無法找出問題。請幫忙。

回答

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" 
       } 
      ] 
     },