Skip to content

Social networks integration

Maciek Jurczyk edited this page Feb 17, 2016 · 2 revisions

User can add social networks' sign in buttons to the Form, Subscription and SiteGate widgets. This will allow the users to fill the forms with one click. User data is automatically pulled from their social network API.

Integration

Facebook

To add Facebook sign in button, use the integration method before initializing the widgets:

pathfora.integrateWithFacebook('{{ Facebook API AppID }}');

This method will require you to create an Application in the Facebook Developers section in order to accuire an appId.

Google+

To add Google+ sign in button, use the integration method before initializing the widgets:

pathfora.integrateWithGoogle('{{ Google API ClientID }}');

This method will require you to create an Application in the Google Developers section in order to accuire an AppClientId.