Facebook API进程共享对象

时间:2017-09-20 04:53:38

标签: facebook-graph-api

我需要一些图api的帮助。我需要处理消息的共享对象。当我打电话给#34;股票"消息的边缘,我得到了:

{'data': [{'id': '123980935012069',
       'link': 'https://www.facebook.com/physicstutorial/jobs/1923839241194493/applications/1898458643751655/',
       'name': 'Application to Tutoring'}],
       'paging': {'cursors': {'after': 'MAZDZD', 'before': 'MAZDZD'},
       'next':'https://graph.facebook.com/v2.10/mid.$cAAHdCLroA9hky9RD5Femo76q5Xln/shares?access_token='}
}

链接指向我感兴趣的对象。但我无法在api中处理它。我试着像#34; https://graph.facebook.com/123980935012069"但我得到了:

{
 "error": {
 "message": "(#12) singular links API is deprecated for versions v2.4 and higher",
 "type": "OAuthException",
 "code": 12,
 "fbtrace_id": "Byd4+EM2UM9"
  }
}

任何想法都将不胜感激,谢谢。

修改 现在我想尝试这样:

https://graph.facebook.com/v2.10/{page_id}_{object_id}?access_token={page_access_token]'

得到:

Unsupported get request. Object with ID '
"'ID_ID' does not exist, cannot be loaded due to "
'missing permissions, or does not support this operation.

0 个答案:

没有答案