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.
Related
I will like to know if its possible to retrieve a list of the most followed users (say top 20 users) on twitter through twitter's api. I cant see how to achieve that through any of the endpoints. How do web apps like this https://socialblade.com/twitter/ get that kind of data?
Any insights on this will be helpful.
There is no API for this. You would need to take an opinionated view of the high-volume celebrity accounts, and then watch the accounts by polling the user endpoints regularly. You could also use the commercial streaming APIs to watch the most Tweeted accounts and check the user objects on a regular basis.
(note that this is the same answer you were provided on the Twitter developer forums)
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
Using "https://www.googleapis.com/auth/plus.login" api, we are getting the access to a list of people in the user's circles in addition to their name and profile information. After api deprecation, we using people.connections.list api "https://people.googleapis.com/v1/people/me/connections" as per documentation but we get list contacts only, not friends list in google+. please help us to retrieve the friends list in google-plus. Thank you
This is probably only telling you what you already know or have guessed.
From the deprecated People API page: "... calls to the API return empty circle data for those new sign-ins." and "In place of the social connection data from the Google+ People API, you can get rich contacts data from the new Google People API."
It seems that there will no longer be a public API for getting a Google+ friends list. Consider supporting an alternate social media platform for your app or utilizing Google Contacts.
It sounds like the People API will actually be more powerful than the G+ people.list method. The G+ API only listed people that the user had circled--that isn't the same as being a friend or close contact. The people API likely better reflects closer connections between individuals as well as exposing a broad number of contacts to apps. I think for most apps, this is an improvement.
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
I am working on iphone application.I wanted to get the social networking (facebook,twitter, etc) profile details by giving email id as query. Is there any method to get the profile ?
For Facebook you can try this answer: https://stackoverflow.com/a/5247066/580173
For twitter this this not possible. You can use oAuth to authenticate the user and get the profile.
For LinkedIn I believe it's also not possible. LinkedIn doesn't communicate the emailaddress anywhere in their API.
See this forum post: https://developer.linkedin.com/thread/1131
I'm assuming that you're wanting to just add the social profile links to a user's profile inside your app...correct? (If you want to actually allow your users to post to their various social media accounts, your best bet is to go ahead and let users sign into each individual account via OAuth.)
If you're looking to get public social info via email address, your free options for a simple solution are pretty limited. Each different social network has its own method, so you'd need to build out a different process to query each social network you want to support. Without more info on which networks you want to support, there are any number of different answers to this question - so I'll just say your best bet is to check out the developer docs of whichever social networks you want to use.
If you're looking for a paid solution, you might try FullContact (full disclosure - I work for them). The Person API pretty much does exactly what you're looking for - pulling all public social media profiles associated with a particular email ID. API docs are here.
However, it is a paid solution, which may not be what you're after.