I am trying to setup my first test bot in kik messanger , tried the following steps
I have created my test bot in kik.
Configured my rest api URL as a webhook URL using the kik config api provided in the docs (Not using python or node.js libraries provided by kik)
Now trying to chat with my test bot from the Kik iOS app , test bot is not yet submitted to the store (as it is not doing anything now to submit to store).
But the test bot says it is not fully configured.
Please advise, how do i test if i am using rest api's to interact with the Bot (Rest API's are developed based on the api reference guide).
Any help here is highly appreciated.
Thank you
Make a GET request to https://api.kik.com/v1/config with your bot username and API key and check that webhook is set.
If it is, I would suggest checking that you are talking to the right bot, and use the right bot username/API key when you call the APIs.
Related
I want to make a discord bot using javascript. Which can get Discord User activity.
can anyone help to get this?
You must use Api . To do this, go to the Discord developers website and register to get api panel it. After confirmation, you can use the developer Guide in discord developer to do the rest of the steps.
I have node bot and the website which is developed in react. I put the iframe code inside the react and I am passing the username and token as below.
<iframe src='https://webchat.botframework.com/embed/<conname>?s=<secret>&username=koushik'></iframe>
How to access the user name inside my bot? My bot is developed in node. The sample bot which I am using is teams-auth.
git Link
you can achieve this using postMessage.
Read this[Window.postmessage] for better understanding
This can't be done with the embedded iframe version of web chat. You will want to use the BotFramework-WebChat front-end client which allows for customizing and provides a rich tool set to work with. There are a lot of samples demonstrating a variety of methods to enable interactions between the web chat instance and your bot. It's a relatively easy setup and will allow for retrieving query parameters and passing them to your bot.
Hope of help!
I'm trying to build a login system with a phone authentication system.
Does anyone of you have experience with this? I'm using fire base as a backend, and twilio for sending sms. So i need to send sms with a pin. i'm developing this app using (ionic + firebase + twilio)
Thanks
Twilio developer evangelist here.
In order to send SMS messages using Twilio you're going to need your own server so that you can make the API requests to the Twilio API. I checked through Firebase and there is nowhere for you to run your own code on there, which is a shame, though it does supply static site hosting these days, which is nice.
I recommend you take a look through the Twilio tutorials which will give you a good idea how to build an application that can perform the API requests for you. I might start by checking out:
SMS notifications in Node.js
Phone authentication using Authy in Node.js
(Authy is the best way of verifying and authenticating phone numbers and is part of Twilio now.)
Let me know if this helps at all.
llhi,
I have configured Facebook connection thru Bot Framework, which has requested to configure one single Facebook page, app, and then token. Is it possible to indicate how to manage several Facebook pages thru the same Microsoft Bot Framework? If not possible, what are the available options?
Thx for your feedback,
Regards
If I understand your question correctly, you would like a bot that works across several Facebook pages? Do to this you'll need to create multiple registrations in the BotFramework for your bot (one for each Facebook page). Each registration can call back to the same bot (just use the same webhook).
A bot can configure on multiple fanpages. I tested it, just enter new pageId and PageToken then resubmit. It still work well.
The problem is the UI configure BotFramework not display all fanpages that authorized. When click deauthorized, it delete all pages. We can wait dev team upgrade it or create multiple registrations like Lars said . I think it will work better soon.
I'm trying to build a site that updates users' Google Talk statuses from Google App Engine using the built in XMPP Python API (or a third-party one, if one works better than another). I've been looking around for some examples or docs explaining how I would go about doing this, but nothing I find seems to offer a fully functional solution.
App Engine's XMPP Python developer docs suggest that updating a status can be done through the send_presence() method (see here):
xmpp.send_presence(to_jid, status="My app's status")
But, how would this be authenticated? Wouldn't I have to send the users password with the request? (Ideally, I'd like to do so using OAuth as suggested here.) Am I misunderstanding something?
Please excuse me if I'm missing something obvious, here. I'm pretty new to both Google App Engine and XMPP. Unlike a lot of examples I've found online, I don't want to create a chat "robot"; I merely want to change an existing user's Google Talk status. Thanks in advance for any pointers!
You can't change someone else' status using the XMPP API.
You can use the XMPP API to represent yourself, or your users (see the description of XMPP addresses in the GAE XMPP API docs).
You cannot send messages or update the status of a gmail user.