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?.

Oleg Belousov
  • 9,981
  • 14
  • 72
  • 127
  • 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 '13 at 08:16
  • Yes I did, all tokens are valid, up to date, and have user_groups in their scope :( – Oleg Belousov Oct 23 '13 at 08:48
  • Oh and also publish_stream and public_Actions of course – Oleg Belousov Oct 23 '13 at 08:59

3 Answers3

26

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

bmate
  • 378
  • 3
  • 9
  • 1
    but this occurs only with a specific groups, not with all of the groups – Oleg Belousov Oct 29 '13 at 08: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 – Saad Bashir Dec 08 '14 at 09: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. – Deepak Rajpal Jan 19 '18 at 08: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

Rajdeep
  • 270
  • 2
  • 11
Vishnu Bgi
  • 89
  • 1
  • 7
0

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