Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the UsersConnectionRepository for in Spring Social Facebook?

I'm following the directions here and elsewhere: https://github.com/SpringSource/spring-social/wiki/Quick-Start

Why do we need to specify a dataSource and UsersConnectionRepository to use Spring Social Facebook? What gets written to our database? Am I supposed to create special tables or modify my Users table?

like image 630
at. Avatar asked Sep 19 '11 18:09

at.


1 Answers

Yep from the docs ~ For convenience is bootstrapping the schema from a running application, this schema definition is available in the spring-social-core module as a resource at the path /org/springframework/social/connect/jdbc/JdbcUsersConnectionRepository.sql.

From here http://static.springsource.org/spring-social/docs/1.0.x/reference/html/serviceprovider.html

You might want to take a look at the sample apps here

like image 132
chrislovecnm Avatar answered Oct 21 '22 00:10

chrislovecnm