Facebook Connect:FB Registration
- Home
- Documentation
- Modules
- Facebook Connect
- Tags
- FB Registration
You can integrate the Facebook Registration plugin on your site. The Facebook Registration plugin allows users to easily sign up for your website with their Facebook account. When logged into Facebook, users see a form that is pre-filled with their Facebook information where appropriate. User's must be logged into Facebook to use this form. If not, they will see a "Facebook Login" modal window asking them to log into Facebook first (or create a Facebook account).
The registration plugin gives you the flexibility to ask for additional information which is not available through the Facebook API (e.g. favorite movie).
In addition to the username, email, and screen_name fields, the Facebook Registration form pulls all EE custom member fields that are marked as visible in the EE registration form AND set to required. The Facebook Registration form will perform a validation check for those fields upon submission. If your site is set to require an acceptance of terms, that will show as a checkbox. If your site requires captcha, Facebook will run the user through FB's own captcha capability.
{exp:fbc:registration}

Parameters
The following parameters are available for use:
return_on_success=
return_on_success="site/page"
This parameter lets you specify the page the user should be returned upon successful registration.
width=
width="450"
This parameter allows you to set the width (in pixels) of the Registration form.
border_color=
border_color="000000"
This parameter allows you to set the border color of the Registration form.
show_captcha=
show_captcha="no"
This parameter allows you to override EE settings for Membership Captcha. If this parameter is specified, the Registration tag will respect the setting of yes or no and will completely ignore EE settings.
Examples
Below is some example code on how to display the Facebook Registration form on your site:
<h2>Registration</h2>
{exp:fbc:registration
return_on_success="site/page"
width="800"
}


