Omnicontacts rails facebook

We use gem Omnicontacts for facebook, import gmail contacts. It works for importing gmail contacts. But for facebook contact details are always empty.

I added the following

controller: Contacts = request.env ['omnicontacts.contacts'] Initializer: importer: facebook, ENV ['facebook_client_id'], ENV ['facebook_secret_key']

I created a Facebook app and added a contact email address, domain details and changed "Do you want to make this app and all its live features available to the general public?" this status and YES.

Any customization I need to do?

+3


source to share


1 answer


I am assuming all your code and setup is working fine.

If your app was built on Facebook on or after April 30, 2014, your app will not be able to call the v1.0 API.

In version 1.0, the answer included all friends.



In version 2.0, the Friends API endpoint returns a list of friends who are also using your application.

More information in the Facebook documentation: https://developers.facebook.com/docs/apps/upgrading#upgrading_v2_0_user_ids

0


source







All Articles