简体   繁体   English

在获得用户许可后,KIK机器人将消息发送给用户的朋友

[英]KIK bot send message to user's friends after user permission

I'm creating KIK bot. 我正在创建KIK机器人。
My goal is to send messages to user's friend after this user permission. 我的目标是在获得此用户许可后将消息发送给用户的朋友。
But I haven't found anything that can help me. 但是我还没有找到任何可以帮助我的东西。
During process I've found 'kid.sign' function, but I don't clearly understand how it works. 在此过程中,我发现了“ kid.sign”功能,但我不清楚其工作原理。
This is link to api: https://dev.kik.com/#/docs/kikjs 这是api的链接: https : //dev.kik.com/#/docs/kikjs

Can you elaborate on your bot some more. 您能否详细说明一下您的机器人。

Bots can't message other users unless the user has messages them first which might make your bot difficult to make. 机器人无法向其他用户发送消息,除非该用户首先向他们发送消息,这可能会使您的机器人难以创建。 This users friend can't receive messages until that friend has also messaged the bot. 该用户朋友只有在该朋友还向漫游器发送消息后才能接收消息。

If those things are all good, and you are looking for the user to pick a friend to send the message to. 如果这些事情都很好,并且您正在寻找用户来挑选一个朋友来发送消息。 Checkout https://dev.kik.com/#/docs/kikjs#social-graph Friend Picker. 检出https://dev.kik.com/#/docs/kikjs#social-graph Friend Picker。 Note all kik-js stuff is in the browser so you would have to send the user a link to a webpage. 请注意,所有kik-js内容都在浏览器中,因此您必须向用户发送指向网页的链接。

kik.sign is a function used for authenticating data sent back to your server from the webpage. kik.sign是用于验证从网页发送回服务器的数据的功能。 You can sign the data before you send it, and authenticate it on your server to ensure it actually did come from that user 您可以在发送数据之前对其进行签名,并在服务器上对其进行身份验证以确保它确实来自该用户。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我希望我的机器人仅在用户直接发送消息时向用户发送直接消息 - I want my bot to send direct message to a user ONLY if the user's direct message 用户回答问题后如何让我的机器人发送消息 - How do I make my bot send a message after user has replied to a question 我如何检查用户是否对机器人的消息做出反应,然后在他没有或他做了时发送消息(全部在 DM 中) - How can I check if a user reacted to the bot's message and then send a message if he didn't or if he did ( all in DM's ) 有没有办法在 bot.on("ready") 函数中向特定用户发送消息? - Is there a way to send a message to a specific user in the bot.on("ready") function? 是否可以像从用户那里一样向Bot Framework发送消息? - Is it possible to send a message to the Bot Framework as if it were from the user? Discord 机器人在用户反应时不发送消息 - Discord Bot doesnt send message when user reacts DiscortJS 机器人在提及特定用户的频道上发回消息 - DiscortJS bot send a message back on the channel mentioning a specific user 当用户在句子中说出一个词时,Discord Bot 发送消息 - Discord Bot send a message when the user says a word in a sentence 如何让不和谐机器人重复用户消息的某个部分 - How to make a discord bot repeat a certain part of a user's message 使用javascript获取Facebook用户的朋友 - fetch facebook user's friends with javascript
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM