Diego81 / omnicontacts

A generalized Rack middleware for importing contacts from major email providers.
477 stars 230 forks source link

An active access token must be used to query information about the current user when trying to import contacts from facebook #174

Closed tonyvince closed 6 years ago

tonyvince commented 7 years ago

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"}}

How to fix this?

mlennie commented 7 years ago

I'm getting same error

katiemccann commented 6 years ago

This is a duplicate of https://github.com/Diego81/omnicontacts/issues/170, closing this one.