Facebook: how to comment on an object

I am trying to comment on objects from an Android application. I tried to follow these guid comments, but it does not work for me.

I found my object identifier from the Facebook debugger (How to find the object identifier from a URL is another question ) Graph API: http://graph.facebook.com/451006711598242

Now I am trying to comment on my object in Facebook graph explorer and get this error:

{ "error": { "message": "(#100) Comments may not be added to a comment plugin", "type": "OAuthException", "code": 100 } } 

This is the url I'm testing: `

/ 451006711598242 / comments? Message = 'Verify ...'

`How to use api comments to comment on an object from my Android app.

+4
source share
1 answer

It turns out that not all Facebook objects support comments. To find out if your comment about support for an object is checked in the Facebook Query Language Reference (FQL) .

Like Status Information , for example, it has comment_info with the can_comment parameter, which says if you can comment. If your object does not have a comment_info property, you cannot comment on it.

0
source

Source: https://habr.com/ru/post/1488070/


All Articles