-2
내 앱을 사용하는 친구의 ID를 가져 오는 스 니펫을 찾고 있습니다. 내가 {범위 : 'public_profile, user_friends'} 요청 로그인에자바 스크립트에서 facebook friend의 ID를 가져옵니다.
FB.api('/me/friends', function(response) {
amis = response.data;
console.log(amis[].id);
});
:
내가 쓴);
https://developers.facebook.com/docs/graph-api/reference/user/friends/ – Andreas
박사님은 저에게 많은 도움이되지 않습니다. 나는 초보자입니다. Fb dev은 loggin 등등에 exemples를주었습니다 ... 나는 쉽게 적용 할 수있는 스 니펫이나 예를 찾고 있습니다. –