muesli / beehive

A flexible event/agent & automation system with lots of bees 🐝
GNU Affero General Public License v3.0
6.32k stars 325 forks source link

Attempt to fix Facebook auth scopes (#264) #345

Closed pbek closed 4 years ago

muesli commented 4 years ago

Thanks for taking a stab at this, @pbek!

Please try and keep PRs contained to a single fix / feature, though. This makes it a lot easier to review changes.

Have you tried authing with Facebook with the new app scope?

pbek commented 4 years ago

Please try and keep PRs contained to a single fix / feature, though. This makes it a lot easier to review changes.

Ah, sorry. Since I was making the PR from my forks master branch the PR got updated when I was pushing to my master branch again :/ I'll fix that...

Have you tried authing with Facebook with the new app scope?

I now have setup my own build and docker deployment process so I can test on my server. After the painful configuration at https://developers.facebook.com (and successifuly receiving an auth token) I'm one step further.

ERRO[0993] [Facebook 2]: Error: [message:(#200) If posting to a group, requires app being installed in the group, and \
          either publish_to_groups permission with user token, or both pages_read_engagement \
          and pages_manage_posts permission with page token; If posting to a page, \
          requires both pages_read_engagement and pages_manage_posts as an admin with \
          sufficient administrative permission] [type:OAuthException] [code:200] [subcode:0]