I need some help with graph api. I need to process shared objects of a message. When I call "shares" edge of a message, I'm getting:
{'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='}
}
The link point to the object which Im interested. But I cannot process it in api. I tried to get it directly like "https://graph.facebook.com/123980935012069" but I'm getting:
{
"error": {
"message": "(#12) singular links API is deprecated for versions v2.4 and higher",
"type": "OAuthException",
"code": 12,
"fbtrace_id": "Byd4+EM2UM9"
}
}
Any ideas would be appreciated, thank you.
EDIT: Now I'm trying to fetch like this:
https://graph.facebook.com/v2.10/{page_id}_{object_id}?access_token={page_access_token]'
And getting:
Unsupported get request. Object with ID '
"'ID_ID' does not exist, cannot be loaded due to "
'missing permissions, or does not support this operation.