안녕하세요
카카오톡 친구목록 받기 관련 문의 드립니다…
https://developers.kakao.com/tool/rest-api/open/get/v1-api-talk-friends 에서
REST API 테스트에서 사용 시 아래와 같이 친구 목록에 3명이 검색되는대
{
“elements”: [
{
“profile_nickname”: “aaa”,
“profile_thumbnail_image”: “https://p.kakaocdn.net/th/talkp/wk4drRz3OL/1UOIoyM3TaIn1Z22j5aNXk/qmwidw_110x110_c.jpg”,
“id”: 1569145075,
“uuid”: “aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa”,
“favorite”: false
},
{
“profile_nickname”: “bbb”,
“profile_thumbnail_image”: “https://p.kakaocdn.net/th/talkp/wl0Pf0TDGu/7SVJMn09Gp3LR3R028Y9Wk/f2s3hq_110x110_c.jpg”,
“id”: 1569147570,
“uuid”: “bbbbbbbbbbbbbbbbbbbbbbbbbbb”,
“favorite”: false
},
{
“profile_nickname”: “ccc”,
“profile_thumbnail_image”: “https://p.kakaocdn.net/th/talkp/wlZ2aMHKaM/Xq20jlHXerHkKT7RlhD1A1/talkp_110x110_c.jpg”,
“id”: 1569154033,
“uuid”: “cccccccccccccccccccccc”,
“favorite”: false
}
],
“total_count”: 3,
“after_url”: null,
“result_id”: “zbnYtN-As4q-h7SGtOva6tng1Yr4nfqT4JTxg-aC3bvarMOx2KzJlqf4mfWZxq3CnevYOA”,
“favorite_count”: 0
}
실제 프로그램으로 작업하여 REST API를 이용하여 친구목록을 가져 올 시
{
“elements”: [
{
“profile_nickname”: “aaa”,
“profile_thumbnail_image”: “https://p.kakaocdn.net/th/talkp/wk4drRz3OL/1UOIoyM3TaIn1Z22j5aNXk/qmwidw_110x110_c.jpg”,
“id”: 1569175579,
“uuid”: “aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa”,
“favorite”: false
}
],
“total_count”: 1,
“after_url”: null,
“result_id”: “zbnYtN-As4q-h7SGtOve7tfn1-G-zKnOp9SgxbfStumP7pj3heyY_aKTzK3BrfKZ9qnf7B8”,
“favorite_count”: 0
}
위와 같이 한명의 친구 목록을 가져 옵니다.
뭔가 문제가 있는거 같은대 원인을 찾을 수 없어 문의 드립니다.
확인 부탁드릴게요