Skip to content

Commit fcd8b87

Browse files
committed
Merge pull request #2403 from wuzhiming/developing
Feature #5995 change login default permission
2 parents bc6f00c + b617cd2 commit fcd8b87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

external/pluginx/platform/facebook.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ plugin.extend('facebook', {
158158
permissions = [];
159159
}
160160
if (permissions.every(function (item) {
161-
if (item != 'publish_actions')
161+
if (item != 'public_profile')
162162
return true;
163163
})) {
164-
permissions.push("publish_actions");
164+
permissions.push("public_profile");
165165
}
166166
var permissionsStr = permissions.join(',');
167167
FB.login(function (response) {

0 commit comments

Comments
 (0)