简体   繁体   中英

KIK bot send message to user's friends after user permission

I'm creating KIK bot.
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.
This is link to 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. Note all kik-js stuff is in the browser so you would have to send the user a link to a webpage.

kik.sign is a function used for authenticating data sent back to your server from the webpage. You can sign the data before you send it, and authenticate it on your server to ensure it actually did come from that user

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM