Facebook: Add needed perms to plain login URL

This commit is contained in:
Zach Copley 2010-11-18 13:34:41 -08:00
parent 229c2693f4
commit cb530566de

View File

@ -80,7 +80,8 @@ class FacebookloginAction extends Action
'href' => $facebook->getLoginUrl(
array(
'next' => common_local_url('facebookfinishlogin'),
'cancel' => common_local_url('facebooklogin')
'cancel' => common_local_url('facebooklogin'),
'req_perms' => 'read_stream,publish_stream,offline_access,user_status,user_location,user_website,email'
)
),
'id' => 'facebook_button'