BaseFacebook::getLoginUrl
Get a Login URL for use with redirects. By default, full page redirect is assumed. If you are using the generated URL with a window.open() call in JavaScript, you can pass in display=popup as part of the $params.
The parameters: - redirect_uri: the url to go to after a successful login - scope: comma separated list of requested extended perms
Signature
public function getLoginUrl([array
$params = ] )
Parameters
$params
— array- Provide custom parameters
Returns
- string
- The URL for the login flow