I have gem 'omnicontacts', github: 'Diego81/omnicontacts' in my Gemfile
and omnicontacts.rb
Rails.application.middleware.use OmniContacts::Builder do
importer :facebook, "xxxxxx", "xxxxxxx", { redirect_path: '/import_contacts/facebook/contact_callback' }
end
but I am getting
"error":{"message":"An active access token must be used to query information about the current user.","type":"OAuthException","code":2500,"fbtrace_id":"XXXXXXX"}}
I have
gem 'omnicontacts', github: 'Diego81/omnicontacts'
in my Gemfileand
omnicontacts.rb
but I am getting
How to fix this?