Results 1 to 10 of 54

Thread: New Project: Spring Social Google

Hybrid View

  1. #1

    Default New Project: Spring Social Google

    Hi,

    I started the Spring Social Google project here: https://github.com/guznik/spring-social-google

    It is very limited in functionality right now - you can only fetch your e-mail, profile details and contact list, but more functionality will be added over time.

    Your feedback is appreciated.
    Gabriel Axel
    Sparklix | Blog | Twitter | Github

  2. #2
    Join Date
    Aug 2004
    Posts
    1,099

    Default

    That's awesome! I know that there's quite a bit of interest in a Spring Social module for Google.

    I'll take a closer look at your work soon, but for now I noticed that the connection support is based on OAuth 2. Very good move! I know that Google also supports OAuth 1, but as I recall from having looked at it awhile back, their OAuth 1 implementation was a bit unusual. So, I'm happy to see that you chose to go with OAuth 2.

    The big challenge with a Google module is that Google has *SO* many APIs, so building out the API binding will be a big undertaking. But it's a great start and is obviously it'll be good to plug in the Google+ API binding in here when Google finally publishes the Google+ API.
    Craig Walls
    Spring Social Project Lead

  3. #3
    Join Date
    Jan 2008
    Posts
    253

    Default

    Awesome. I have a weird problem with using the library. Whenever I register the connectionFactory, Eclipse reports the providerId as facebook when it should be (and judging by the source code is) "google".
    I'm thinking it may have something to do with the fact that I use compile time weaving and the SocialConfig class is marked @Configurable. Any clue about how to deal with this?

  4. #4
    Join Date
    Jan 2008
    Posts
    253

    Default

    Nope, I decompiled the GoogleConnectionFactory.class in the supplied jar and it actually does contain "facebook" as providerId. I suggest you update this on your github repo. Might avoid some confusion

  5. #5

    Default

    Sorry, I forgot to exclude "target" from source control, and it's content is not up to date. Actually this is my first Git project, so I'm learning on the way. I hope to make some significant progress during the weekend and will try to fix up the repository.
    Gabriel Axel
    Sparklix | Blog | Twitter | Github

  6. #6
    Join Date
    Aug 2011
    Posts
    1

    Default

    Here is my version of spring social google. It uses OAuth 2.0 authorization flow and implements google portable contacts API. There's also a skeleton for adding more APIs. Hope it will help you.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •