Created
May 6, 2014 08:50
Revisions
-
niraj-shah created this gist
May 6, 2014 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ <?php // include code from https://gist.github.com/niraj-shah/ab1c74ad83df172e6075 // generate login url with scope, each permission as element in array $loginUrl = $helper->getLoginUrl( array( 'email', 'user_friends' ) ); // output login link echo '<a href="' . $loginUrl . '">Login</a>';