From: Zach Copley Date: Thu, 18 Nov 2010 21:34:41 +0000 (-0800) Subject: Facebook: Add needed perms to plain login URL X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cb530566de5501028e6a3e9e725b0860a098f7c9;p=quix0rs-gnu-social.git Facebook: Add needed perms to plain login URL --- diff --git a/plugins/FacebookBridge/actions/facebooklogin.php b/plugins/FacebookBridge/actions/facebooklogin.php index 9a230b7241..f8a45c41b2 100644 --- a/plugins/FacebookBridge/actions/facebooklogin.php +++ b/plugins/FacebookBridge/actions/facebooklogin.php @@ -79,8 +79,9 @@ class FacebookloginAction extends Action array( 'href' => $facebook->getLoginUrl( array( - 'next' => common_local_url('facebookfinishlogin'), - 'cancel' => common_local_url('facebooklogin') + 'next' => common_local_url('facebookfinishlogin'), + 'cancel' => common_local_url('facebooklogin'), + 'req_perms' => 'read_stream,publish_stream,offline_access,user_status,user_location,user_website,email' ) ), 'id' => 'facebook_button'