Login with facebook to Spring MVC app?

I want to integrate my facebook login into my web application developed using Spring MVC. What are the ways to do this?

  • Is it possible to simply add a javascript button and an iframe to login on my website?
  • Does facebook provide user information such as username, hometown, university, etc.? Indicate the appropriate link or tutorial.
+5
source share
2 answers

If you want to get these pieces of information, for example, username ... you will need to write some of the code in your backend to handle the facebook callback.

Spring, , Spring Social? http://www.springsource.org/spring-social

.

+8

1) https://developers.facebook.com appId appSecret; < > 2) autoconfig appId appSecret .net MVC
3) Facebook URI ( β†’ ), http://localhost.....
4) , :

  • OAuth Login
  • OAuth

( - )
5) facebook
6) "", | 7) ..... , ! , ...

+1

All Articles