storycraft / node-kakao

Loco protocol compatible library
MIT License
409 stars 115 forks source link

requestFriendList fails with -500 #81

Closed luftaquila closed 3 years ago

luftaquila commented 3 years ago

Describe the bug client.service.requestFriendList() succeeds but response is { status: -500 } and client.service.requestBlockedFriendList() fails with Request failed with status code 403

To Reproduce

client.login(email, pw, true)
  .then(() => {
    client.service.requestFriendList()
    .then((res) => { console.log(res) })
    .catch(err => { console.error(err); });

    client.service.requestBlockedFriendList()
      .then((res) => { console.log(res) })
      .catch(err => { console.error(err); });
  });

Expected behavior Expected to get list.json and blocked.json response.

rycont commented 3 years ago

I'm having same issue. image This is the result of await kakao.Service.requestFriendList()

storycraft commented 3 years ago

the origin api of requestBlockedFriendList is removed and won't work. Will be available with packet request if added.

storycraft commented 3 years ago

See #85 for requestBlockedFriendList replacement.