title: Facebook getloginurl additional permissions
body: <p>I just try to update to PHP SDK 4.0. I can't find my mistake and hope you can help me. I copied all files to the folder "./facebook4" and implemented following code:</p>
  
  <pre class="lang-php prettyprint-override"><code>// Skip these two lines if you're using Composer
  define('FACEBOOK_SDK_V4_SRC_DIR', '/./facebook4/src/Facebook/');
  
  // if you include this file you don't need to use composer
  require __DIR__ . '/./facebook4/autoload.php';
  
  // include required files form Facebook SDK
  require_once( './facebook4/HttpClients/FacebookHttpable.php' );
  require_once( './facebook4/HttpClients/FacebookCurl.php' );
  require_once( './facebook4/HttpClients/FacebookCurlHttpClient.php' );
  require_once( './facebook4/Entities/AccessToken.php' );
  require_once( './facebook4/Entities/SignedRequest.php' );
  require_once( './facebook4/FacebookSession.php' );
  require_once( './facebook4/FacebookRedirectLoginHelper.php' );
  require_once( './facebook4/FacebookRequest.php' );
  require_once( './facebook4/FacebookResponse.php' );
  require_once( './facebook4/FacebookSDKException.php' );
  require_once( './facebook4/FacebookRequestException.php' );
  require_once( './facebook4/FacebookOtherException.php' );
  require_once( './facebook4/FacebookAuthorizationException.php' );
  require_once( './facebook4/GraphObject.php' );
  require_once( './facebook4/GraphSessionInfo.php' );
  
  use Facebook\HttpClients\FacebookHttpable;
  use Facebook\HttpClients\FacebookCurl;
  use Facebook\HttpClients\FacebookCurlHttpClient;
  use Facebook\Entities\AccessToken;
  use Facebook\Entities\SignedRequest;
  use Facebook\FacebookSession;
  use Facebook\FacebookRedirectLoginHelper;
  use Facebook\FacebookRequest;
  use Facebook\FacebookResponse;
  use Facebook\FacebookSDKException;
  use Facebook\FacebookRequestException;
  use Facebook\FacebookOtherException;
  use Facebook\FacebookAuthorizationException;
  use Facebook\GraphObject;
  use Facebook\GraphSessionInfo;
  
      FacebookSession::setDefaultApplication('AppID','secretAppID');
  
  $redirect_url = "http://www.mypage.de/Logged.php";
  
  // use the helper 
  $facebook = new FacebookRedirectLoginHelper($redirect_url);
  // get a loginurl
  
  
  $permissions = array(
  'email',        
  'read_stream',
  'user_actions:criminalcase'
  ); 
  
  echo "Test1";
  $loginUrl = $facebook-&gt;getLoginUrl($permissions);
  echo "Test2";
  
  echo "&lt;a href='".$loginUrl."'&gt;Link here&lt;/a&gt;";
  </code></pre>
  
  <p>Test1 is displayed when I call the page but Test2 and the "Link here" are not displayed. So I guess there must be a problem with getLoginUrl but I have no idea what it is</p>