Closed ghost closed 4 years ago
I don’t think this issue is well done and you may need to use IP assigned for home network as well. I think you should give some more information such as code snippet to resolve this issue.
I don’t think this issue is well done and you may need to use IP assigned for home network as well. I think you should give some more information such as code snippet to resolve this issue.
const Module = require('node-kakao'); let TalkClient = Module.TalkClient; let client = new TalkClient('DESKTOP-NQ49GHF');
KakaoAPI = Module.KakaoAPI; ChatType = Module.ChatType; ChatMention = Module.ChatMention; Chat = Module.Chat; ChatChannel = Module.ChatChannel; ChatUser = Module.ChatUser; ChatFeed = Module.ChatFeed;
id = '--'; pass = '--'; uuid = --;
client.login(id, pass, uuid);
client.on('message', (chat = Chat) => { if (chat.Text === 'F테스트') { chat.replyText('안녕하세요 ', new ChatMention(chat.Sender)); // Ex) 안녕하세요 @storycraft //chat.Channel.sendTemplate(new AttachmentTemplate(ReplyAttachment.fromChat(chat), '안녕하세요')); // 답장형식 } });
Tested with same code. It works as intended.
client.LocoLogon === true
F테스트 -> 안녕하세요 @storycraft
Tested with same code. It works as intended.
client.LocoLogon === true
F테스트 -> 안녕하세요 @storycraft
Nani? Im Only Pending and LocoLogon == false
If you're connecting from runkit or similar platforms, the connection to KakaoTalk may be blocked because your connection seems abnormal and it cannot be made from a normal user. So, you may test your code in a more stable environment such as your home. There is no issue detected even for me.
It keeps turning off even if I log in from the node.
Win
Promise still pending.
Only Pending.