I want to integrate facebook login into my web application developed using Spring MVC.
What are the ways to do it?
- Can I simply add the javascript and iframe of login button on my website?
- Does facebook gives me details of the users such as username, hometown, university etc?
Please provide appropriate link or tutorial
If you want to get those pieces of information, like username… you will have to write some piece of code in your backend to handle the facebook callback.
As you are using Spring, how about you give it a try at Spring Social? http://www.springsource.org/spring-social
Looks easy to use.