Hello,
I would like to initiate a new Spring Social sub projetc for the social network XING. I found the pages about contributing to existing Spring social projects... What are the steps to initiate this projects?
Thanks,
Tobias
Hello,
I would like to initiate a new Spring Social sub projetc for the social network XING. I found the pages about contributing to existing Spring social projects... What are the steps to initiate this projects?
Thanks,
Tobias
I was on my way to do such a thing a while ago (then found out somebody already was working on my same idea, so i gave out).
The way I started was by having a quick look at the structure of some of the other implementations.
- https://github.com/SpringSource/spri...social/twitter
- https://github.com/SpringSource/spri...ocial/facebook
for example you see here how it's common to have an api part, dealing with the actual domain objects you wanna be dealing with and a connect part that contains code that'll deal with outh connection with your provider and so on.
I admit, this it not a detailed help, but it's all i can write about
let me know how your development will go on.
2+2=5
You described the recommended project structure well, but for more detailed instructions on writing a new provider, see the Spring Social Reference: http://static.springsource.org/sprin...lementing.html
In short, the connect package contains the bits for the Spring Social connection framework (which is really the easiest part of the whole thing), the api package holds the public API (domain classes and API binding interfaces), and the api.impl package holds the non-public internal implementation of the API binding. You aren't required to structure your project this way, but it is highly recommended.
Craig Walls
Spring Social Project Lead
I implemented an initial version of the spring social integration with Xing. You can check it out at https://github.com/jonnybbb/spring-social-xing. Feedback and Contributing is highly welcome. Currently only a part of the Xing Rest API is implemented.
I added the Xing provider to the spring-social-showcase as well.
Regards
Johannes
Hi Johannes,
thanks for starting the project. I did some work on this, too. I will try to merge my stuff with yours.
Regards,
Tobias
Hi Tobias, do you already have your work on github?
regards
Johannes
Hi Johannes,
no I do not have it on github, yet.
Regards,
Tobias
Johannes: Thanks for the Xing contribution. And thanks to Tobias for offering to help build on top of it. Just so you know, I just added a link to your project on the Spring Social homepage (http://www.springsource.org/spring-social).
Craig Walls
Spring Social Project Lead