Google api: hangout send and get chat messages - google-api

Ok, so I'm trying to make like a minigame bot for me and my friends to play like text based games in google hangouts, but i really don't understand how the hangouts api works?
Can you make a chrome app that sends messages to a group chat and if so how? I have checked out the google dev api page but it seems like it explains how to do stuff with videochats, not "regular chat".
I have checked out: Using Google+ Hangouts API but i don't know where i should use that code.
And i want it to be for just hangouts chat, not like the videochatting chat

Related

Google chat and Slack integration

My team is working mostly with google chat but we also work with different teams that work with slack
Is there a way to integarte google chat and slack so that massages in google chat will apear in slack?
Thank you!

Migrate channels to hangouts chat rooms

my organization was using Slack, and decided to move to Google Hangouts Chat. I used channels to coordinate with different teams. How do i migrate these users to Hangouts Chat rooms?
(Issue) Chat rooms allow duplicates, and are created private. So new users cannot see them & join. They end up creating copies of a similar common room each time.
Either of the following kinds of options are fine with me.
Export users list email-addresses from my Slack channel. Import these users into Chat as #email-id . I can't seem to get the email-list from Slack
Send Chat room shareable invite link to channel users. Google Chat rooms don't give shareable invite link.
As Erik said, the operation you are looking for is users.list. Though you need to ensure you have users:read and users:read.email set in your environment. This will also give you a bunch of empty entries though, as it will include all bots and apps on your workspace, which do not have emails.
I wrote a quick app using Transposit (disclaimer: I work for them) that you can fork here that will return an array of all valid emails in a Slack organization for you. Authenticate with Slack, and it should work by just running get_emails.js.
Unfortunately, we do not yet have a Hangouts connector, so we can't automate the whole process through this app, but I hope you find it helpful! Let me know if you have any questions in a DM, or message us at support#transposit.com.
Best,
Griffin, Developer Advocate at Transposit

Passing an external user ID through MS Bot Framework

I am working on a Skype bot, using Microsoft's Bot Framework.
I have an external website, where a user can create an account, obtaining a userID. I would like to have a button on my website that allows me to link their account to a Skype conversation.
The only way I can work it at the moment is by having the Skype bot ask for the user's email, then the user has to go onto the website and confirm that that was them on Skype. Not a good UX.
I know Telegram lets you do what I want with "deep linking", and Kik can do it by scanning QR codes. Facebook Messenger can do it by including the Facebook JSSDK in the page with a "Connect to this bot" button.
Is there any way to do this on Skype?
Use the "Sign-in Card" workflow to have your users authenticate with your website before proceeding with the Skype bot conversation.
The Sign-in card enables a bot to request that a user sign-in. It typically contains text and one or more buttons that the user can click to initiate the sign-in process.
For documentation and code example, see:
https://learn.microsoft.com/en-us/bot-framework/dotnet/bot-builder-dotnet-add-rich-card-attachments#add-a-sign-in-card-to-a-message
Blog article showing sign-in card walk-through:
https://tsmatz.wordpress.com/2016/09/06/microsoft-bot-framework-bot-with-authentication-and-signin-login/
Additional code examples:
.NET SDK - https://github.com/Microsoft/BotBuilder-Samples/tree/master/CSharp/cards-RichCards#sign-in-card
Node.js SDK - https://github.com/Microsoft/BotBuilder-Samples/tree/master/Node/cards-RichCards#sign-in-card
Use individual deep link mechanism for each bot (e.g. telegram) that you wish to implement.
How to setup Telegram webhook the simple way.
Telegram webhook requirement
HOWEVER, it doesn't work on Skype.
Microsoft bot builder deep linking
he only way I can work it at the moment is by having the Skype bot ask for the user's email, then the user has to go onto the website and confirm that that was them on Skype. Not a good UX.
This is the only way so far for Skype.

Web Chat doesn't work, but Telegram / Facebook / Emulator etc. work fine

I have a chatbot created with the MS bot framework. It works great in Telegram, on the portal, facebook messenger, and the emulator - but the Web Chat doesn't work.
It will connect and let me type things in, but none of the responses get back to the web chat window. I even see the message coming in and being sent back from my chatbot in the server logs, but somehow it doesn't make its way back to the web chat.
Any idea why?
The bot is called WffBot, and the web chat link is here.
It turned out that I had the address and name in the from section of the JSON of the response switched. While, for whatever reason, none of the other messaging systems minded this, the WebChat just ignores the responses.

Automate Posting Google Alerts to Yammer

Whats the best way to incorporate Google Alerts into Yammer? I've tried setting up an Exchange rule to auto forward the Google Alert emails to the Yammer group's email address, but that isn't working. When I manually forward the Google Alert emails to the group, that works, but they look awful. Does anyone have tips for a smooth integration of Google Alerts into a Yammer Group?
I set Google Alerts to output to an RSS feed. I then used this IFTTT recipe to import that RSS feed into the intended Yammer group. It works perfectly!

Resources