How to obtain all the Google Hangouts a user has participated in? - google-plus

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.

Related

Direct link to Google Chat DM

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

Instagram Login - How do they do it without even going to the Instagram website?

I've seen some Instagram likers and other tools like follow unfollow apps, login and get access to an instagram account without redirecting to instagram's website.
I mean they have their own custom form built and they ask us to login with our instagram innit.
How do they do that? Does Instagram API allow that? And how do they beat the limit? I heard that instagram has an API limit of Max 5000 calls per day and 2000 follows. But they follow like a ton of people in the same website. How'd they do it?
Below are some examples of Instagram logins that I've used my fake accounts with (I'm sure nobody wanna get their accounts hacked)
They are not using the official but the internal instagram API. This means that they simulate an android or iOS device and login with your credentials so instagram thinks you are logged in from a mobile device. This gives you access to all instagram features (like, follow, upload photo and video and etc)! There are a lot of unofficial instagram APIs on github that do exactly this.
They also use a proxy for each account so they stay beyond the rate limits and don't get flagged.

do I have to handle both google+ API and google play game service to use google play game service?

I'm new to Android and trying to use google play game service for my app.
I found out from Google Developers page that there is a sign in guide in google play game service, but heard that i need to sign in with google+ account to use play game services.
So, my question is "do I need google+ account and also have to develop google+ API on my app to use google play game service?
Sorry my question is pretty messy, though I need help!
Thank you.
Play Games services features that use authenticated calls, such as posting high scores or joining a real-time multiplayer match, use Google+ sign-in. You will need to implement sign-in in your app; check out the docs at:
https://developers.google.com/games/services/android/init
You can have your game activity extend BaseGameActivity from the sample code and it will do a lots of the work for you.
Usually people refer to the "Google+ API" as the APIs for retrieving social information, like a getting a list of Google+ posts or sharing interactive posts on Google+. The sign-in is the same (it's obviously also using Google+ sign-in), but to use the Google+ API, you would also need to request additional scopes. See:
https://developers.google.com/+/mobile/android/getting-started

Reverse lookup of a phone number on Google+ (number -> name mapping)

Android Kitkat has a new smart callerid feature which I believe looks up the incoming phone call against your google+ contacts and also against google+ business pages / google business listings. It's pretty smart and would be a good way to lookup phone numbers in general.
I've looked through the google+ API documentation and had a hunt for any other APIs, but I can't immediately see a way to do this via the google+ API (or even on the google+ website or main google website) - does anyone know if it's possible?
The Contacts API might be your best bet, you can map contacts to Google+ IDs by looking at the profile URLs for a given contact. While people can add phone numbers to their Google+ profiles, the Google+ API in the Person resource does not expose that information even if it is public.

how to check if a specific user is signed into google hangout

Is there an API call to check if a specific user (whose google+ id is known) is signed into Google Hangout or not ?
The application I am working on requires me to show a Google Hangout button to customer X only when customer Y is already logged into a Google Hangout.
I have already checked the People Google+ API as well as the Hangout API and I cannot find any call will provide me this info.
Please let me know if this is possible.
Thanks,