This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
No announcement yet.
New Project: Spring Social GooglePage Title Module
The signature of the setInterceptors() method recently changed from taking an array of ClientHttpRequestInterceptor (as it was in Spring 3.1M2) to a List<ClientHttpRequestInterceptor> (in the latest snapshot builds). Spring Social was still using the 3.1M2 version of the method, which caused trouble if you're using a snapshot build of the Spring Framework. I could change Spring Social to fit the latest snapshots, but then you'd run into similar trouble when using Spring 3.1M2.
I've just pushed a snapshot build of Spring Social that resolves this issue to work with either Spring 3.1M2 or the latest Spring 3.1 snapshots. And it also should still work with Spring 3.0).
If using Spring 3.1M2, you can add the GDataVersionInterceptor like this:
ClientHttpRequestInterceptor interceptors = restTemplate.getInterceptors();
ClientHttpRequestInterceptor newInterceptors = new ClientHttpRequestInterceptor[interceptors.length+1];
System.arraycopy(interceptors, 0, newInterceptors, 0, interceptors.length);
newInterceptors[interceptors.length] = new GDataVersionInterceptor();
Considering that google has a vast library, wouldn't this be the case to split this into even smaller sub apis?
If that's the case I would like to help, I was building the foursquare api, but after doing some code, and finishing the UserProfile, I found out that there was already an initial implementation
Trying to find one social sub api to implement now
Thanks, but I don't plan to split the library into API-specific libraries since the bulk of the work will be done at the common core, leaving very little to the API-specific functionality, so I think splitting it would only make dependency management more complex.
If you are looking for an API to implement Spring Social binding to, how about Yahoo?
An update on the project: I implemented more contact operations and started to implement what is available of Google+, which is profile fetching and activities fetching. You can see it in action here: http://gdata.cloudfoundry.com/
I would like to thank Gabriel for his efforts on providing this API binding for Google. I've been hitting a couple of issues using this and will post follow-up questions about these. My focus for this post relates to:
1) Is this the appropriate forum to ask questions related to Spring Social Google?
2) Are there plans to make Spring Social Google an official part of the Spring Social APIs so that it will be on equal footing in terms of development and support with the Facebook and Twitter APIs (which are available directly from SpringSource)? A roadmap and official support for this will be a major factor in my decision to work through some of the growing pains with this API and use it within our application.