getSocialTwitterUrl(params)

Function to get the URL to enable login with twitter.

Twig Usage

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

Parameters

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

Response Example

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