Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit 7777707

Browse files
Add mandatory param to the RedirectLoginHelper constructor
The constructor is : public function __construct($redirectUrl, $appId = null, $appSecret = null) The first param $redirectUrl is therefore mandatory.
1 parent ebc8266 commit 7777707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sdk_getting_started.fbmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ $loginUrl = $helper->getLoginUrl();
6161
~~~~
6262

6363
~~~~
64-
$helper = new FacebookRedirectLoginHelper();
64+
$helper = new FacebookRedirectLoginHelper('your redirect URL here');
6565
try {
6666
$session = $helper->getSessionFromRedirect();
6767
} catch(FacebookRequestException $ex) {

0 commit comments

Comments
 (0)