페이스북 친구 목록을 불러오고 싶은데요
에러와 함께 다음의 응답 메시지가 날라옵니다.
{Response: responseCode: 200, graphObject: null, error: {HttpStatus: 400, errorCode: 15, errorType: OAuthException, errorMessage: (#15) This method is only accessible to Games on Facebook.com - please set a Canvas URL in your app's settings: https://developers.facebook.com/apps/403223126407920/settings}, isFromCache:false}
앱을 안쓰는 친구 목록을 불러와 초대하는 것을 구현하는 것이 목표입니다.
구현한 순서대로 설명드리겠습니다.
간한하게 요청 가능한 샘플 앱을 제작하였습니다.

위 앱의 친구 리스트 요청을 날리면 다음과 같은 에러가 나옵니다.

{Response: responseCode: 200, graphObject: null, error: {HttpStatus: 400, errorCode: 15, errorType: OAuthException, errorMessage: (#15) This method is only accessible to Games on Facebook.com - please set a Canvas URL in your app's settings: https://developers.facebook.com/apps/403223126407920/settings}, isFromCache:false}
코드는 다음과 같습니다.

어떤분이 캔버스 url을 해주라고 해서
페이스북에서 url설정에 임의 주소를 넣어보았구요

위와같이 한 상태에서 친구 목록이 불러와 지지 않았습니다.
안드로이드 펍에서 질문한 결과를 검색해보니
아래와 같은 답변이 있던데요 taggable_friend로 요청해도 친구 리스트 불러와 지지가 않아요 ㅜㅡ
내년 4월자로 새로운 api 로 싹 바껴서
앱 안쓰는 친구는 taggable_friend 로만 갖고 올 수 있습니다
taggable_friend 는 태깅할때만 쓸수있는 아이디를 반환하구요
게임이시라면 invitable_friend 가 있습니다
mamondbaltob (11,170 포인트) 님이 2014년 12월 15일 답변