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?

at.
  • 50,922
  • 104
  • 292
  • 461
  • 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? – Stefan Falk May 08 '18 at 20:13

1 Answers1

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

chrislovecnm
  • 2,549
  • 3
  • 20
  • 36