Avatar of cgray1223
cgray1223

asked on 

Facebook Connect for Java Web Application Login

Hello,

I've search around and I'm a bit confused as the best approach to allow facebook users access to my website using facebook connect. My web site is written in Java and I'm using Spring Security. Everything out there (spring social, facebook-java-api...etc) all seems somewhat implemented but doesn't provide examples to do the below, any ideas?  I just want to provide a sign up and login using facebook credentials.

-provide facebook connect button that lets user auth with their facebook credentials and then have it callback to a java service within my application so that I can create a user record in my database.
Java EEJavaJavaScript

Avatar of undefined
Last Comment
leakim971
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of cgray1223
cgray1223

ASKER

leakim971, do you have the source for the fbrell.com/auth/all-in-one?  I was interested in how the Facebook Connect button is created.  Some examples have you use the cross domain file..etc.  I couldn't learn that from viewing the html source...thanks for the help!
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Check this page : http://developers.facebook.com/docs/guides/web/

<fb:login-button>Login with Facebook</fb:login-button>

Open in new window

JavaScript
JavaScript

JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.

127K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo