I'm trying to find a conversation id since I want to make a Google Hangouts/Chat bot but I can find it I remember it being there before in the Url but now its gone? I'm Using the 3rd party Hangups API
Related
I am new to using WhatsApp API. I am not sure but it seems that the api is for business users only. I want to use the api to send messages to users automatically based on a change in an app, (say PowerBI). I want to send updates regarding a report whenever a change is made and send it through whatsapp instead of email.
Yes, WhatsApp API is for business users. But, if you still looking for a WhatsApp bot I recommend Twilio, there are a lot of content about it in the internet. Check out this video, It's using python and really easy.
We would like to add a hyperlink in our intranet which when clicked will open google chat conversation with the specified bot developed using Google Chat API.
When creating a chatbot via https://console.developers.google.com/apis/api/chat.googleapis.com/hangouts-chat?project=xxxxxxxx, the only identifying information about the bot appears to be an App ID (Project Number) and the Bot name.
As of 2020 version of Google Chat, there appears to be no documentation on how to create a direct URI to a user or bot ID) say something like https://chat.google.com/users/XXXXXXXXX where XXXXXXXX is the Bot ID
An inspection of the Google Chat Web Widget (https://chat.google.com) roster/contact list when communicating with the bot suggests that bot identifiers are of the form user/bot/114553095703997684XXX or user/114553095703997684XXX where 114553095703997684XXX is the App Id referenced earlier.
How can we programmatically construct a direct URI to the chat bot given its App ID or Name?
There is currently no method to create a URL that opens a space with a user or bot.
To get a list of spaces you would need to already be part of one.
I would suggest creating a Feature Request if you have not yet. Create an Issue and submit it as a Feature Request.
I'm unable to generate a direct link to Google Chat DM. We'd like to link Google Chat DMs to peoples profiles in our organisation.
I've tried to use the users Google ID to generate the link, for example https://chat.google.com/dm/123455 but that redirects nowhere.
I'd expect that there is a way to generate a direct link, either by using users primary email, google ID or to list users DMs through an API call.
Retrieving the "user chat ID" does not seems possible with the existing API.
I have created a new feature request, for the Google Hangouts Chat API (or People API for that matter), to expose this information : https://issuetracker.google.com/issues/134526655
As a workaround, you can use the People API to retrieve the Gaia ID of a user, and then open the a Google Hangouts conversation with the appropriate URL.
Quoting my answer to "Create direct link to Google Hangouts chat" :
you'll need to know that person's Gaia ID (an internal ID used by Google).
I have added a detailed answer to an existing stackoverflow question in which I describe how to retrieve the Gaia ID using the People API.
TL;DR: Request metadata in the personFields, by using people.connections.list resources for your contacts, or the people/get resource for yourself.
Once you've got someone's Gaia ID, it's pretty straightforward to create the correct URL to start a Hangout with them. Simply replace 1XXXXXXXXXXXX below with that user's Gaia ID:
https://hangouts.google.com/chat/person/1XXXXXXXXXXXX
The Google Hangout APIs do not seem to have the ability to fetch all Hangouts for a user. Also, the Google plus APIs to not seem to have Hangouts as part of activities or moments. Are there any Google APIs that return the past Hangout list to use along with the Google Hangout APIs?
There are not any public Google APIs to get a list of Video Hangouts a user has participated in. You can file a feature request if you would like to see such an API method.
I have gone through a tutorial that takes me to the console.developers.google.com/ webpage. I created a new project, then i went to API & Auth .. clicked on the API key to try to then scroll down and select the Youtube Data API v3 and it is NOT there, why? I need to get the API key for an application I am using. I have logged in to two separate accounts and it is not available in either account. I need help in finding the API key so that I can use it in an application. I called the adwords team and asked them and they asked me to send a question to you in this forum.
By default, there were a few Google Cloud APIs enabled by default. When they were enabled, the Youtube Data API was not showing up in the list of available APIs. I disabled all the preselected APIs, and then the Youtube Data and Analytics APIs were available.
Looks like you just have to disable the default selections for some reason.