Suleiman

Product Designer who occasionally writes code.

You may also like...

12 Responses

  1. Romil says:

    Please help me, Every time i am getting error as follow
    400 Bad Request
    {
    “error” : “unsupported_grant_type”,
    “error_description” : “Invalid grant_type: ”
    }

  2. Anthonny says:

    Thank you so much, I spent a lot of time and finally I found it!! 😀

  3. Sreyash Gaonkar says:

    Is there a Kotlin code for this ??

  4. Richard Davis says:

    Thanks.
    This is the only one that worked.
    All the other methods I found through various posts were outdated, due to the deprecation of Google Plus API I tried for days.
    Note to somebody else trying. If you want to integrate this in an existing app you must make it work its not just copying and pasting.
    Thanks again

  5. Guy Dviri says:

    return new People.Builder(httpTransport, jsonFactory, credential)
    .setApplicationName(APPLICATION_NAME)
    .build();

    is dont work any more.

  6. Bhuvanesh Bhuvan says:

    @disqus_TPD8mpYmRO:disqus i am also getting same error. token response is null. i donno why. searching for verly long time. unable to find. if anyone knows the solution please tell immediately. Thanks in advance

  7. Priya Sharma says:

    Caused by: java.lang.NullPointerException
    com.google.api.client.repackaged.com.google.common.base.Preconditions.checkNotNull

    GoogleTokenResponse tokenResponse = new GoogleAuthorizationCodeTokenRequest(
    httpTransport,
    jsonFactory,
    context.getString(R.string.clientID),
    context.getString(R.string.clientSecret),
    serverAuthCode,
    redirectUrl).execute();

  8. Priya Sharma says:

    How to get client sceret key? Please help

  9. Bee says:

    Thanks for this nice tutorial. I have an issue with the signed apk, missing required parameter:code, what is that meant?

  10. Bee says:

    I alwast got null for the response.getConnections(); in Asyntask, what reason causing the null response connections ?

Leave a Reply

Your email address will not be published. Required fields are marked *