Face book Resolves an error with code 200 when posting a comment on a message made by users other than me

I get an error message with code 200 from facebook, trying to post a comment in a message made by users other than me, in a facebook fan letter, which is itself. I am using facebook graph api.

Exact error (JSON):

{"error": {"message": "(# 200) Permission error", "type": "OAuthException", "code": 200}}

Note. The above error does not say what permission is required!

Detailed description:

  • I have a fan page in my facebook account. I am the admin of this fans page.

  • I registered my application on facebook with permissions, including publish_stream permission. Also, I have publish_stream permission publish_stream as extended permission.

  • Now, when I try to post a comment under a message (to my fan site) made by any user other than me, I get the above permission error.

    • However, using the graphical API, I can post a comment / post similar text under a message that I made either with a fanpage or with an api chart.
    • However, from my fan page, I can comment on a message that was made by a user other than me.

Note. I have a valid access token (user access token and page access token) obtained using OAuth 2.0 steps. I have the above error when trying to use the access token and page access token.

+4
source share

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


All Articles