[英]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.