diff options
author | Zach Copley <zach@status.net> | 2010-11-18 13:34:41 -0800 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-11-18 13:34:41 -0800 |
commit | cb530566de5501028e6a3e9e725b0860a098f7c9 (patch) | |
tree | cf9e1ef94459493b5e681b7ff64c558c220f1130 /plugins/FacebookBridge/actions/facebooklogin.php | |
parent | 229c2693f4a3de20ced018b876501324472ec9bd (diff) |
Facebook: Add needed perms to plain login URL
Diffstat (limited to 'plugins/FacebookBridge/actions/facebooklogin.php')
-rw-r--r-- | plugins/FacebookBridge/actions/facebooklogin.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/FacebookBridge/actions/facebooklogin.php b/plugins/FacebookBridge/actions/facebooklogin.php index 9a230b724..f8a45c41b 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' |