Facebook: Add needed perms to plain login URL
This commit is contained in:
parent
229c2693f4
commit
cb530566de
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user