Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

integration application with facebook

Is is possible use Spring Social to authentication via Facebook ? Suppose I have a web application and want to log in there using your Facebook account. Can someone show me an example of how to do it ? Thanks for any help

like image 400
przodownikPracy Avatar asked Mar 02 '26 02:03

przodownikPracy


2 Answers

Yes it is possible. You need to use Spring Social Facebook connector. You can checkout, build and play with showcase app:

  1. showcase app that use java config
  2. or the same showcase if you prefer XML config. This version use new social namespace tags from 1.1.0.M1. They will be not available if you want use 1.0.2.RELEASE. It will be easy to fix (check out some older version of the app or just compare the source with 1.0.2 documentation, there are some minor differences)
like image 133
Maksym Demidas Avatar answered Mar 04 '26 17:03

Maksym Demidas


From SpringSource's Github Repository

  • Greenhouse
  • Spring Social Samples
like image 30
lschin Avatar answered Mar 04 '26 18:03

lschin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!