0
여전히 permissions.request를 사용해야합니까, 아니면이를 수행 할 새로운 방법이 있습니까? 상충되는 정보를 보았습니다. 감사합니다. scope
매개 변수Javascript로 Facebook에서 확장 된 권한을 요청하는 적절한 방법은 무엇입니까?
여전히 permissions.request를 사용해야합니까, 아니면이를 수행 할 새로운 방법이 있습니까? 상충되는 정보를 보았습니다. 감사합니다. scope
매개 변수Javascript로 Facebook에서 확장 된 권한을 요청하는 적절한 방법은 무엇입니까?
그럼 당신이 사용할 수있는 FB.login()
: 아이러니하게도
FB.login(function(response) {
if (response.authResponse) {
console.log('Welcome! Fetching your information.... ');
FB.api('/me', function(response) {
console.log('Good to see you, ' + response.name + '.');
FB.logout(function(response) {
console.log('Logged out.');
});
});
} else {
console.log('User cancelled login or did not fully authorize.');
}
}, {scope: 'email'});
, 페이스 북은 단지
posted a tutorial이 어제와 관련. 또한 나는이 동안에 대해
tutorial을 작성했다.