Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
tonyvince opened this issue Jul 28, 2017 · 2 comments

Comments

@tonyvince
Copy link

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
Copy link

mlennie commented Sep 4, 2017

I'm getting same error

@katiemccann
Copy link
Collaborator

This is a duplicate of #170, closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants