Sign In Users

Before your app can use Google+ features such as creating interactive posts and fetching profile and people information, users must sign in with their Google accounts.

To allow users to sign in, integrate Google Sign-In into your app. When you initialize the GoogleApiClient object, request the PLUS_LOGIN and PLUS_ME scopes. For example:

mGoogleApiClient = new GoogleApiClient.Builder(this)
    .enableAutoManage(this /* FragmentActivity */,
                      this /* OnConnectionFailedListener */)

When you create the sign-in button, keep in mind the branding guidelines. In particular, when you request social scopes, you should use the red sign-in button with the Google+ logo.

Send feedback about...

Google+ Platform for Android
Google+ Platform for Android