Fix: Added facebook login scope with new advanced access for page read (#3518)

This commit is contained in:
Tejaswini Chile 2021-12-08 16:17:49 +05:30 committed by GitHub
parent 714c10dc66
commit f609a28c6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -163,7 +163,7 @@ export default {
FB.init({ FB.init({
appId: window.chatwootConfig.fbAppId, appId: window.chatwootConfig.fbAppId,
xfbml: true, xfbml: true,
version: 'v7.0', version: 'v12.0',
status: true, status: true,
}); });
window.fbSDKLoaded = true; window.fbSDKLoaded = true;
@ -207,7 +207,7 @@ export default {
}, },
{ {
scope: scope:
'pages_manage_metadata,pages_messaging,instagram_basic,pages_show_list,instagram_manage_messages', 'pages_manage_metadata,pages_messaging,instagram_basic,pages_show_list,pages_read_engagement,instagram_manage_messages',
} }
); );
}, },

View file

@ -40,7 +40,7 @@ export default {
FB.init({ FB.init({
appId: window.chatwootConfig.fbAppId, appId: window.chatwootConfig.fbAppId,
xfbml: true, xfbml: true,
version: 'v7.0', version: 'v12.0',
status: true, status: true,
}); });
window.fbSDKLoaded = true; window.fbSDKLoaded = true;
@ -80,7 +80,7 @@ export default {
}, },
{ {
scope: scope:
'pages_manage_metadata,pages_messaging,instagram_basic,pages_show_list,instagram_manage_messages', 'pages_manage_metadata,pages_messaging,instagram_basic,pages_show_list,pages_read_engagement,instagram_manage_messages',
auth_type: 'reauthorize', auth_type: 'reauthorize',
} }
); );