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(
|
array(
|
||||||
'href' => $facebook->getLoginUrl(
|
'href' => $facebook->getLoginUrl(
|
||||||
array(
|
array(
|
||||||
'next' => common_local_url('facebookfinishlogin'),
|
'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'
|
'id' => 'facebook_button'
|
||||||
|
Loading…
Reference in New Issue
Block a user