Tag: googleplus
Detect whether users have uploaded a profile picture to Google+
Very short post on a small feature that I know will be a popular one with some people! A regular feature request has been the ability to determine whether the profile picture with a Google+ profile is the default blue head or not. You can do that right now with the people.get API calls - and you can try it yourself from that page using the explorer.
Google Sign In with Server Side Auth on iOS
The release today of version 1.7 of the Google+ iOS SDK added the ability to authorise both a client and server for access to Google APIs. This has been a feature for Android and Web based sign-ins for a while, and now is available across all three platforms. This should simplify server side code for people who have been building cross platform apps - for example if you need to retrieve profile information on the client, but retrieve circles on a server for a friend finding feature.
Migrating from PlusClient to GoogleApiClient
Choosing a Google identity scope
Incremental Auth and YouTube scopes
In my previous post I mentioned that there are two issues which have been made more visible by incremental auth. The first of these is fairly straightforward, but the second is a little more subtle. Incremental auth is a great feature for simplifying the consent screen that users see when they first sign in to an app, but it can also introduce a bit more complexity in some cases. An example of this is when requesting access to YouTube.
Are you using approval_prompt=force?
The recent launch of incremental auth has highlighted a couple of problems in the way some sites have implemented Google+ Sign-In or Google OAuth 2.0. The most obvious of these is that there are a fair number of places that use approval_prompt=force
much more often than they should, which leads to a much worse user experience than there needs to be.
Launch All The Things!
Seamless Sign-In Across Devices
Google+ Sign-In on the Android Chromium WebView
Google+ Sign-In: Page Level Configuration
Using Google Services To Grow User Retention
User Sign-In Status In Javascript
Improving Sign-In Implementations
Saving App Config To Google Drive
Triggering Google+ Widgets From Javascript
Google+ Android Client & Server Sign-In
NOTE: This blog post is pretty old! Take a look at a much better way of getting an authorization token or check out the official Google Sign In documentation for a more up to date (and easier!) choice.
Google+ Demographics in Google Analytics
Crouching Sharebox, Hidden Android
With all the share box related things happening over the last week or so, I realised there are a couple of non-obvious parts of the Android PlusShare class which might be of interest to people.
Attaching images to Google+ shares on Android
Google+ iOS SDK 1.4.0 with native sharing
Google+ client changes in Google Play Services 3.2
Google+ Sign-In Localisation
Testing whether a user is signed in to Google
Google+ Sign-In & Multiple Applications In The API Console
Who Are You Anyway?
Common Issues With Google+ Sign-In On iOS
Deeplinking Into The Google+ Apps
Google+ iOS SDK 1.3.0
Batching calls to Google APIs (Javascript)
Common problems with Google+ Sign-In on Android
It has been fantastic to see so many people trying out Google+ Sign-In, and through the bootcamps and other events I’ve had a chance to talk to some people who are actually implementing it in their apps. The Android integration is pretty straightforward, thanks to Google Play Services, but there are still some issues I’ve seem come up a couple of times.
Postmessage & OAuth 2.0
As part of the release of Google+ Sign-In, some people have noticed that signing in via the Sign In button doesn’t redirect them to Google, then back to the site, as would have happened if they’d been using the basic OAuth 2.0 flows.
Programmatically Scheduling Hangouts
One pretty common request around Google+ hangouts is the ability to programmatically schedule them, and have a URL which everyone can join in the future. This is useful for being able to send out links beforehand, and make sure people are ready to go.
Google APIs Java Client Library from Clojure
At Devoxx the other week I spoke about Clojure, and as an example looked at how it could be used to access the Google+ public data API. Because the Google+ APIs are part of the general Google APIs Discovery Service we looked at how to process and generate functions to call this library automatically (more on which in later blog posts). However, for use now the easiest way to access any Google API via Clojure is probably via the Java client libraries using the Java interop in Clojure.
Vanity Metrics in Social Media
I was reminded of one of my pet social peeves as part of a conversation with one of the, astonishingly smart, Google interns. One of the most challenging aspects of social networks is that, broadly, people within companies don’t really know what “doing a good job” looks like. Depending on the organisation, social media can be part of marketing, PR, customer service, a specialised department, even IT. The aim of these departments is often mis-matched with the potential or the audience the brand has across their social media, so it is difficult to create effective performance measures.
Retrieving Comments From Google+ Events
Had a question earlier about whether it was possible to retrieve comments from an event on Google+, and the answer is yes! As long as it’s public, you can grab it via the REST public data APIs.
Google+ History Is Your Oyster
The History functionality in Google+ is an interesting answer to a pretty common question of “where’s the write API?” It allows creating moments in a user’s (private) history, which can then be reshared. It’s currently in developer preview, for the express purpose of getting feedback on the API.
Notes: Sharing to Google+ on IOS
It has been a long time since I touched any IOS code, so I was quite looking forward to a chance to do some when the IOS team within Google+ released the SDK into preview at Google I/O last month. Luckily, the documentation on the SDK page on developers.google.com is excellent, and covers the basics of the setup, but in part because I’ve forgotten almost everything about XCode and IOS, I thought it best to just write down what I did and what I encountered, primarily as an Aide-mémoire for the future. Anyone building a new app should follow the documentation - but perhaps some developers will hit an issue I did and get something out of this post!