This is an old revision of the document!
This document will help you with setting up various providers for importing friends using Import Friends plugin.
To allow site users import contacts from Facebook, follow these steps:
1. You should create an application here:
https://developers.facebook.com/apps/
2. Once application is created you should do the following:
Pay attention to the App ID and App Secret (marked with red), they will be used in the step 3.
3. Go to Admin Panel > Plugins > Installed Plugins > Contact Importer > Settings section. Fill 'APP ID' with value from step 2.
Installation completed.
To allow site users import contacts from Google, follow these steps:
1. You should create an application here:
https://code.google.com/apis/console/
2.On the page for creating a new application select the API Access from the left menu and click the Create an OAuth 2.0 Client button
3. Enter a product name, upload logo and click Next.
4. Select the Web application option and Click the More options link.
5.
a. Enter your site URL with the google/oauth string in the end into the Authorized Redirect URIs field. It should look like this: http://yoursite.com/google/oauth
b. Enter your website URL to the Authorized JavaScript Origins field.
6. Click the Create Client ID button.
7. Then copy the Client ID and Client secret and paste it into your Admin Area > Plugins > Installed Plugins > Contact Importer plugin > Google App Settings section.
Installation completed.