8

"message":"OAuthException: (#200) Insufficient permission to post to target on behalf of the viewer","trace":"[]","code":0

This message started to appear randomly after the recent Facebook maintenance actions.

My users are generating this error while trying to share into their groups.

Any thought on how to solve this?.

3
  • Have you tried with a fresh access token, or debugged the existing one? Might be they messed something up with that during their outage. I'd try to send the user through the login flow again first.
    – CBroe
    Oct 23, 2013 at 8:16
  • Yes I did, all tokens are valid, up to date, and have user_groups in their scope :( Oct 23, 2013 at 8:48
  • Oh and also publish_stream and public_Actions of course Oct 23, 2013 at 8:59

3 Answers 3

26

When the application request the permission, you need choose Public, not Only Me.

3
  • 1
    but this occurs only with a specific groups, not with all of the groups Oct 29, 2013 at 8:43
  • 6
    Is there a way to check if the user has selected Only Me so that user can be notified/requested to change permission in order to proceed with posting to the group Dec 8, 2014 at 9:51
  • To change "Only Me" to "Public", sometimes you have to clear all permission -> saved -> changed permission again while generating User token. This worked for me. Hope this will be helpful for someone. Jan 19, 2018 at 8:43
5

Check Your app's privacy settings is public.Otherwise make it to public.

Here are steps:

Go to settings in your facebook account. Then click on Apps menu. Then choose your developer application and click on it. In top, you will see 'App visibility and post audience' and choose drop down showing at right. choose public in dropdown options

0
0

It's a permission issue. Talk to the support team of Facebook Developer.

1
  • If you can't send an exact answer or if it's just a suggestion, you can leave a comment Sep 15, 2022 at 8:21

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.