How can I have a chatbot separate from normal chat on my page? I am experimenting with a chatbot, I created a bot with webhooks configured and the bot is working fine as I expected(it's in test mode) but to interact with a bot I have to use the same chat window which is used for my support. Right now my page is using FB chat as a support desk, now I have seen pages using two different chat windows one for messages and one for the bot. How can I do that?
This is designed by Facebook to be what you're looking for "Handover protocol"
https://developers.facebook.com/docs/messenger-platform/handover-protocol
Related
My react Native 0.66 app uses gifted chat and socket.io to allow users to join a room (created by socket.io) and chat with others in the same room. The socket.io is used to broadcast a message to everyone in a room in real time. But recently socket.io has some connection issue. Is it possible to implement a real time chat using gifted chat only (with no socket.io)?
Its not possible to only use gifted chat to communicate to other devices, you need a backend. A good and pretty well documented alternative to socket.io is firebase. A basic guide: https://medium.com/#phylypo/react-native-simple-chat-with-firebase-and-giftedchat-f7dbdff2883a
Our company has a web app and is going to introduce online chat feature. Since we already use RingCentral service with their call queue. I am not sure whether it's possible to achieve the following actions:
When users want to chat with customer service personnel, our web app can submit a request to RingCentral queue
Available person from the queue is going to be brought into the chat dialog of our web app.
I did some research on developer site of RingCentral but cannot find a proper reference so please share links so I can start from there if it's feasible. Thank you.
If your agents are using RingCentral Engage Digital, this can be implemented using by adding your chat as a new channel with the Channel SDK:
https://developers.ringcentral.com/engage/digital/guide/sdks/source-sdk
I'm admin of my test app, and my test page.
Now I'm doing a function get page's feed realtime by webhook, just only on development mode.
When I click test button on App's Dashboard, It has been sent to my webhook. But when I comment or like ... the post, facebook doesn't send even though I subscribed feed webhook.
With Messages, it has been sent successfully, but Feed doesn't.
I ask facebook support, so they said that:
"Applications will only be able to receive test webhooks sent from the
app dashboard while they are in development. No production data,
including that of app admins, developers, and testers, will be
delivered unless the app is live. In order to receive feed webhooks,
your app needs to be live and has to go through app review for
necessary permissions."
I understand that I can not get data from facebook even though it is under development mode.
So how can I get data returned by facebook to develop, test... apps in development mode.
Thanks so much.
It is not possible to run this service without an app review, since it is not possible to add the 'mange_pages' permission to a (test-)user within a development app. At the same time it is not possible to turn a testapp into live-mode. As the same is true vice versa the only solution is the app review to get information from a specific (test-)page.
For live testing i suggest to create a testuser and subscribe for information about the "user" to test your webhook.
You can check with GET graph.facebook.com/app-id/subscriptions, if your app is successfully subscribed to "page information". Graph API Documentation
As you already mentioned you can also send "page information" test calls to your endpoint.
UPDATE 18th Nov 2018
If you go to Webhook -> pages in your App Dashboard on https://developers.facebook.com you are able to notice, that Webhooks in dev mode do not work.
I've submitted a Bug report to Facebook for this issue, as there is no proper solution.
You can check it at : https://developers.facebook.com/support/bugs/1570460936387604/
I also don't get the fact that you can't test webhooks in dev mode, and you can't do the app review because you can't develop your app and show them for review.
Just a chicken and egg issue.
I have created a bot with IBM watson ,Node js and Facebook Messenger API
and wanted to handover the bot chat history to the human agent with messenger API.
little will be appreciated
Thank You
There's a couple options.
You can do this through the page inbox using the handover protocol:
https://developers.facebook.com/docs/messenger-platform/handover-protocol#page_inbox
You can create a separate app that integrates with whatever support/ticketing/live chat system you have, set it as secondary receiver role, and subscribe it to the standby webhook event to log all activity.
I am building one of the FB Messenger Bot applications and i want to send my apps customer URL into messenger so that user can tap on it to open the app (The app is already installed on the device). This is app is not in the app store and just a demo for now.
How can i achieve this ? When i am sending customeURL:// as text back to messenger it identifies it as bad URL.
Thanks,
Have you tried adding some text before and after your URL?