You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
I need email in my game for further communication like rewards, notification, etc
but as per document I didn't see any way to get email I tried with javascript sdk using
FB.login(function (response) {
if (response.authResponse) {
FB.api('/me?fields=email', function (userInfo) {
console.log(userInfo.email);
});
} else {
console.log('Auth cancelled.')
}
}, {
scope: 'email'
});
but i always got Blocked opening error ="in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set"
Please let me know How i can get user email id
The text was updated successfully, but these errors were encountered:
I need email in my game for further communication like rewards, notification, etc
but as per document I didn't see any way to get email I tried with javascript sdk using
FB.login(function (response) {
if (response.authResponse) {
FB.api('/me?fields=email', function (userInfo) {
console.log(userInfo.email);
});
} else {
console.log('Auth cancelled.')
}
}, {
scope: 'email'
});
but i always got Blocked opening error ="in a new window because the request was made in a sandboxed frame whose 'allow-popups' permission is not set"
Please let me know How i can get user email id
The text was updated successfully, but these errors were encountered: