I want to use friend api

{“elements”:[],“total_count”:0,“after_url”:null,“result_id”:“zbnYtN-As4exiLGIvo6-4dTn1eTW5LvJrMui0aXAstez7IrrnfKA6Z34p5bJqMSo95zzrNrpAg”,“favorite_count”:0}

i am grtting this response can somebody please tell me what does that mean

i dident get even team member uuid

hi~

  1. Register your friend in “My Application>App Settings>Team Management”.

  2. Make Kakao Talk friends with the user who registered as No. 1.

  3. Your friend should also try logging in to the your site.

  4. Try searching your friend again with your account.

2개의 좋아요

i try this but getting same error

There is only one person’s login history on your site.
Your friend needs to log in, too.

now i get this response
{“elements”:[],“total_count”:1,“before_url”:“https://kapi.kakao.com/v1/api/talk/friends?offset=-2&limit=3&order=asc",“after_url”:null,“result_id”:“zbnYtN-As4exiLGIvo6-4dTn1eTW5LvJrMui0aXAstez7IrrnfKA6Z34p5bJqMSo95zzrNrpAg”,"favorite_count”:0}

that id is my uuid ? or still i am getting wrong response?

  1. The normal response is as follows.
   "elements": [
       {
           "profile_nickname": "TestUser",
           "profile_thumbnail_image": "https://~~~",
           "id": 00000000,
           "uuid": "rdsfwsefeesfdsef_A",
           "favorite": true
       }
   ],
   "total_count": 1,
   "after_url": null,
   "result_id": "dsfsdsfsdfsdfdf",
   "favorite_count": 1
   }
  1. i have question.
  • Is your friend a Kakao Talk user?
  • Are you and your friend on kakaotalk friend?

This condition must be met to be tested.

thank you for quick reply ,
yes me and my are friend on kakao talk , we text each other on kakao talk ,
and he is team member also

i explain you my whole code hear
i get code first with this api

https://kauth.kakao.com/oauth/authorize?response_type=code&client_id=ca2f4b7b4829b08d9cdce22d74fcec85&redirect_uri=https://c.cs113.visual.force.com/apex/satyamFriend&scope=talk_message

then i get access token this api

https://kauth.kakao.com/oauth/token
with other paramerter in body post ,ethod

then i am hitting this api for get uuids
https://kapi.kakao.com/v1/api/talk/friends?offset=3&limit=3&order=asc
with that acess token

and getting this response

{“elements”:[],“total_count”:1,“before_url”:“https://kapi.kakao.com/v1/api/talk/friends?offset=-2&limit=3&order=asc",“after_url”:null,“result_id”:“zbnYtN-As4exiLGIvo6-4dTn1eTW5LvJrMui0aXAstez7IrrnfKA6Z34p5bJqMSo95zzrNrpAg”,"favorite_count”:0}

please guide me what do now

Try adding friend to scope ~

https://kauth.kakao.com/oauth/authorize
scope=talk_message,friends

still getting same response

Did your friend log in again?

Apply for permission to use
To use the Get Friends List API in real service, you need to get permission to use it. Prior to receiving permission, the feature works only for team members for development and testing . In order to receive friend information for general users as well as team members of the app, you need to get permission from Kakao as follows. Even if you have permission to use, only the information of friends who meet the conditions will be provided according to the use policy .

1.Implement a function to receive a friend list.
2.Check if the function to receive friends list is working properly for team members in the app.
3.After checking the normal operation of the function, select the’Friend API’ category in’Create a new topic’ in Devtalk , and fill out the application post according to the form.

The Kakao platform administrator verifies the application and answers whether or not to provide permission to use the friend list import API. After reviewing and receiving permission, all users of the service can use the friend list import API function. In addition, in the [My Applications]> [Agree Items] menu, you can also set the’Kakao Service My Friends List’ item in [Personal Information Protection Items] to’Selective Agreement’.

can you please guide me what does mean that point 1,2 and 3

how to Implement a function to receive a friend list.

and other points also

First, add scopes, and your friend needs to try logging in again.

Number one is what we are doing now.

Once this test is done, you can apply to bring friends who joined the site without adding friends to the developer site.

my friend also add scope and login again still getting same response
{“elements”:[],“total_count”:1,“before_url”:“https://kapi.kakao.com/v1/api/talk/friends?offset=-2&limit=3&order=asc",“after_url”:null,“result_id”:“zbnYtN-As4exiLGIvo6-4dTn1eTW5LvJrMui0aXAstez7IrrnfKA6Z34p5bJqMSo95zzrNrpAg”,"favorite_count”:0}

please remove the parameter (“offset=3&limit=3&order=asc”)

https://kapi.kakao.com/v1/api/talk/friends?offset=3&limit=3&order=asc

I did the same as you.
To be exact, the “offset=3” parameter is the problem.

ohhh yes
{“elements”:[{“profile_nickname”:“Satyam”,“profile_thumbnail_image”:"",“id”:1634606233,“uuid”:“V2ZeZlFoWGlebkJxRX1FcEV3QnVZbF9tXG5cMg”,“favorite”:false}],“total_count”:1,“after_url”:null,“result_id”:“zbnYtN-As4exiLGIvo6-4dTn1eTW5LvJrMui0aXAstez7IrrnfKA6Z34p5bJqMSo95zzrNrpAg”,“favorite_count”:0}

i got this

what to now ? means 2 and 3 point

2개의 좋아요

The “offset” parameter means the starting point.
You just don’t have to use it. You did a great job~

1개의 좋아요

i did 2 point to my friend also get it friend uuid ,

how to complete 3 point

3.After checking the normal operation of the function, select the’Friend API’ category in’Create a new topic’ in Devtalk, and fill out the application post according to the form.

https://devtalk.kakao.com/t/api/80421

Functional testing is now complete.
After creating a program that actually works, complete an application for inspection.
(You have to apply after completing the function of sending a message.)

How to Apply for an inspection

Application Creation Category
https://devtalk.kakao.com/c/send-message/examination

  1. Please apply for a business app at the app’s [My Application > Settings > General > Biz App Information > Business Information Registration].

  2. Please send a copy of the business registration card you used for the application to your Kakao account (@kakao35).

  3. Please tell me the developer account (email) and app name of OWNER.

  4. Tell me why/how to use the API in the app.

  5. To check the service with the message transmission API directly, please tell us the ‘order from the time you log in to the service’.
    -[Who logs in and how]
    -[How do I check my friends list?]
    -[How do I send messages?]

  6. Please attach the ‘Actual Motion Screen Video or Capture’ applied to the service after the test has been completed.

1개의 좋아요