I am able to launch Chromecast app via standard DIAL. However, the launch parameters (either query string or POST data) do not reach the receiver app.
Does anyone how to get launcher parameters to a Chromecast receiver app without using Google Cast API on the sender side?
Some context: trying to do a Chromecast sender app without using Google Cast API.
Thanks
Alex
Related
I am new to Azure Bot Framework Composer.
I am creating chatbot using Azure Bot Framework Composer(without writing code) which need to be launch in Angular Web Application from Azure Cloud after deployment.
In my chatbot project, need to fetch the user conversation data and send it to backend API from Azure Bot Framework Composer.
How to achieve this?, anyone help on this.
You can view the conversation data using ${conversation} scope and from dialog stack can access required information. To get last conversation data can use ${turn.Activity}. For sending to backend API, create HTTP post method and pass the data in the body of your request.
Without knowing more details on your chatbot project, one reasonable approach to take is to use the Send HTTP Request action in the composer.
After you obtain the values from the conversation that you are looking for, (can be stored in conversation / dialog variables), you could then pass it onto an HTTP send request and deliver that to your backend API.
With this, you can send any payload to your backend API.
On one hand, I have a web application running and tunneled with ngrok:
https://87db45c5.ngrok.io -> http://localhost:3978
If i paste the https URL in a browser, I can see in ngrok cmd window:
GET / 304 Not Modified
to check when a request is received
On the other hand, I have created an App for my TEAMS client, using the App Studio (Manifest Editor - Create...)
I only need a BOT to send messages to my web application within a team. Messaging extensions is not used.
After App creation I have:
The bot (created from App Studio) available in dev.botframework.com/ (MyBots), with correct 'Messaging endpoint' and AppId (03a5d7c9-18cb-458e-9fd7-b3ec8ba6d67d). Microsoft Teams is added in Channel and is 'Running'.
My App registered in portal.azure.com, with the same AppId & AppSecret
My App/BOT available in the TEAMS team/chat (#bot)
I think I have all required parameters properly added, but when I send a message to my BOT in TEAMS ("#bot hello") I see no trace in the ngrok cmd window
In the past I had a bot running, but I had to restart the process from scratch.
Any idea about what I am missing?
Thanks in advance,
Diego
I am trying to build a Rocket Chat Google Action and one of the major advantage of RC is it's Realtime API's however they require Websocket to get access. I know that Dialogflow can be used for Websocket's but does Google Actions support it?
I am using Dialogflow along with Firebase as backend for my Action.
Actions on Google is a platform for stateless applications running through a REST API call. In this model, the user sends one request to your server and they get back one response.
Actions on Google itself doesn't support web sockets, but you are able to define a cloud function like Firebase to do advanced fulfillment. While you may be able to get web sockets to work in your function, you'd still need to adjust the Action's conversational flow to work in a request/response fashion instead of listening to web sockets continually.
I am building a bot with the Microsoft bot framework. I don't want to use bot(other than webchat) emulator and don't want to use Azure also.I want to host my bot in local IIS only. Instead of using bot emulator I want to create my own custom chat page for chat with bot. I checked this but didn't get any idea. Is there any way to do so?
Please help. Thanks.
If you've internet connection you can use ngrok to make your local address public. Then, for endpoint use generated address from ngrok. At the end, send web chat to your testers.
How to get data (payload?) from GCM in browser client? I get push-notification and all. In response from GCM, I get an empty objet field data. I want to send push notification with message by client in a browser. How can I do that?
First, for downstream messaging, GCM provides two types of payload: notification and data. In Data payload you need to include the developer’s custom key/value pairs only, and the client app must handle the message.
You can read the documentation here about data in the message payload.
I will suggest you to read this documentation Implementing GCM Client on Chrome to know more information in setting up the GCM in the browser client.
Make sure that the enable API that you use is "Google Cloud Messaging for Android". Because "Google Cloud Messaging for Android" will give you access to the normal GCM API. "Google Cloud Messaging for Chrome" won’t (it’s used for Chrome Apps in the Chrome Web Store).
You can also check this tutorial for more information and sample code.