What is the UsersConnectionRepository for in Spring Social Facebook?
Asked Answered
K

1

10

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?

Kubiak answered 19/9, 2011 at 18:58 Comment(1)
Well it's 2018 and the docs still don't quite explain what to do with this. Especially since there is also a UserConnection table I do not understand. Is there a chance you can tell me if I need to consider anything in particular regarding that table and repository respectively?Dogleg
A
5

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

Arthro answered 19/9, 2011 at 20:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.