-1

I want to like a facebook post in my rails application but I get the error:

Koala::Facebook::ClientError: type: OAuthException, code: 200, message: (#200) Permissions error [HTTP 403]

my omniauth file includes:

provider :facebook_writer, ENV['facebook_writer_key'], ENV['facebook_writer_secret'], info_fields: 'friends', scope: 'publish_actions, manage_pages, pages_show_list, publish_stream' Items in my facebook application are not approved yet.

Any clue why this is happening? Do I need to be approved?

Lukesivi
  • 2,206
  • 4
  • 25
  • 43
Sergii Naumenko
  • 95
  • 1
  • 10

1 Answers1

0

I added

client_options: { site: 'https://graph.facebook.com/v2.0' }

to my provider

Sergii Naumenko
  • 95
  • 1
  • 10