Web Chat : Bot not able to communicate to bot application server - automation

I have registered a bot on Microsoft chat framework. I have the chat application deployed in one of the public servers and configured with the registered chat bot.
Able to access the chat application from emulator and is working fine. But when I try to access it from web chat Frame or Skype, it says "couldn't send, retry"
Please help, resolving the issue
Screenshot of Channels

I faced this problem: HTTP status code InternalServerError, you can go to the azure website, and create a bot application, then program the bot on the website (you can use the old code that you used in VS), I don't know why, I programmed the bot using VS, and published it on azure, but it doesn't work (can work in bot framework emulator but can't use web chat and direct line), so I try to go to azure website, I found out that code on the website one still default code.

Related

Cannot Edit Hangout Chat Api Project Configuration

Three days ago, I set up a project for my bot in the Google API Console with the Hangouts Chat API enabled.
In a configuration tab I entered the information for the bot, and everything worked fine. Until now, I cannot edit any information in configuration tab. What happened?
enter image description here
The bot configuration will be frozen, once you publish the bot. The only workaround is to create a new identical bot with the configuration you wanted.

Sending Push Notifications to Mobile app's and also to Web Application built in .Net Mvc

I am working on a MVC-4 C# web Application. The Application is connected with two mobile apps built in Ionic framework.
Currently i am in need to send push Notification's from my web application to mobile app's and also i want to show notifications on web app if any change happens in database.
I am using SQL Server 2008 as database.
I have searched alo't about this and found Signal-R and SQL Dependency as one option to monitor database and send notification to web application,but Signal-R cant send notifications to mobile app's.
I am looking for something that i can use for both purpose.
I heard a bit about Firebug ,if it could serve my purpose kindly guide me a bit about that..
Any Suggestion Regarding this would be highly appreciated.
if you want to push notification in android then used 'FCM' to push Notification.
please find follow link to push notification. Hope it will be useful for you.
Click Here

Create custom chat control for bot framework

I'm using Microsoft Bot emulator to test or debug the chat API developed via Bot framework.
Now, i'm going to host the service in my IIS server, but i would like to know how to write client application to this?. We cant use emulator in realtime, we need to provide user a chat window & enter button.
I'm not getting any example projects on how to create chat window for bot API. Is there a way to do it?
Have you registered your bot on Microsoft Bot Framework website yet?
When you are done with this process, there are plenty of channels (Facebook,Skype, etc.) to use in order to talk to your bot. One of them is a simple web client.
How to register a bot: Register a bot
How to connect your bot to channels: Connect a bot to channels
If you would like a custom chat control please see the WebChat control. It is an open source project you can customize and modify to suit your needs. You can embed it anywhere you like.

Azure App Service Oauth failure after Mobile Service migration

Up to this point, I had a functioning Azure Mobile Service with service-directed OAuth working nicely for Google. I tried to rehost the mobile service as an app service since mobile services are deprecated. I also have an HTML/JS web app that accesses my service through the MobileServiceClient JS client. This is where the fun starts.
After changing the redirect address to the appropriate app service address in the Google API manager, I get a message saying I'm successfully logged in in a new popup window: .
Clicking on "Return to Website" takes me to the address of my app service, not the app that initiated the OAuth request, and if I close this window, the MobileServiceClient throws a "cancelled" exception and I don't get my credentials.
What am I missing or what changed that I need to account for?
Thanks!
It turns out that this particular behavior happens when using an older version of the MobileServiceClient JS library. Replacing the 1.2.7 version with the 2.0.0beta version fixed this. To get the whole OAuth flow working, I also needed to add the appropriate addresses to the allowedExternalRedirectUrls node of the config/authsettings node through the Azure Resource Explorer. If there is a nicer way to do it than through the resource explorer, I don't know what it is.

Quickblox for android and web using PHP as backend

I was thinking of using the quickblox for my chat requirement.
We want to build a 1-1 chat between a user and admin. User will be logged in from the android and admin will be logged in from the web. We want the functionality for the user to chat with an admin person. Our backend code base is in PHP and both the android and web talks to the backend with rest APIs.
Some can please help me out on where should I start my development from. Can you share any sample code or tutorial to get me started with, it would be really helpful?
It may be solve like this
For PHP admin side
First you need to create the dialog for all the user
Then for selected user you will call the Retrieve_messages api for getting all the user
For sending the message you have to call Create_message
Ref : QuickBlox
For android they have their own SDK for sending and getting the message
Android SDK