getSocialFacebookUrl(params)

Function to get the URL to enable login with facebook.

Twig Usage

{% set url = _AppHelper.getSocialFacebookUrl(1)) %}

Parameters

ParameterRequiredTypeDescription
loginnointwhether to enable login or not. Could be 1 or 0.

Response Example

http://network.cognitives.com.au/auth/auth?authclient=facebook&login=1