Showing posts with label social-application. Show all posts
Showing posts with label social-application. Show all posts

Friday, January 20, 2012

Custom OAuth API with SpringSocial. Google OAuth2.

In my previous article I described how to begin friendship of spring-social and tapestry:
SpringSocial and Tapestry. Let's be connected.
There are 2 implementations of Twitter and Facebook templates in spring-social library. They are for OAuth1 and OAuth2 protocols respectively. But what about other APIs that also works with OAuth protocol?
Lets look on new Google OAuth 2 API. You can play with it here:
OAuth 2.0 Playground
Firstly we should decide what we need. In this article I will provide information mostly about Google user profile.

Saturday, October 29, 2011

SpringSocial and Tapestry. Let's be connected.

I've been working with connecting my applications to social services for last week. Didn't here anything about its APIs before. So, I started to look up for information about this and found this posts:
Good articles I want to say. And scibe-java library is a good choice for your application. It is very simple, has a lot of supported APIs and is very flexible(you can generated all needed requests by your own).
But there is an another choice - spring-social. It has not only request-response logic implementation but also full-featured facebook and twitter APIs. E.g. to update facebook status we just need do this:


The only thing we need is to get OAuth access token for needed social service. The way to do this is during application authorization process. All technical details you can find on oauth.net.