From cb530566de5501028e6a3e9e725b0860a098f7c9 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Thu, 18 Nov 2010 13:34:41 -0800 Subject: [PATCH] Facebook: Add needed perms to plain login URL --- plugins/FacebookBridge/actions/facebooklogin.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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' -- 2.39.5