Paul Tarjan's Blog

A CROSS BETWEEN USEFUL THINGS AND PAUL TARJAN’S RAMBLINGS.

Paul Tarjan

I was the Tech Lead for Yahoo! SearchMonkey. Now I’m a juggling unicycling web hacker @ Facebook.
blog@paulisageek.com my other Internet Things.

Facebook Registration Tool

Republished from Facebook Developer’s Blog

Today we’re launching a new registration tool that gives website owners the ability to offer quick, easy and social options for sign-up.

It is an excellent alternative to using Facebook Login (formerly Facebook Connect) when:

  • you want to provide an option for users without Facebook accounts
  • your site needs additional information that Facebook doesn’t provide
  • a traditional HTML form suits your site more

By minimizing the friction associated with signing up for a new account and making it easy for people to bring their friends with them, we’ve seen that people are more likely to complete the sign up process, stay on sites longer, share more content, and come back more often. For example, in beta tests with FriendFeed, Facebook sign ups increased 300%.

How it works

The registration tool is an iframe that websites can add with just one line of code, and customize to request the specific fields required to create an account. When a user is logged into Facebook and arrives at the registration tool on a website, they’ll see that the form is prefilled with the relevant information he or she has already shared on their Facebook profile. Users can see the specific information the site is requesting of them, giving them more control to decide whether to sign up.

The site can request information stored on Facebook (e.g., name, verified email address, current location, etc.) or custom information (e.g., text fields, checkboxes, dropdown menus, security checks, typeaheads, etc.). Users can decide whether to share their information with the site by clicking “Register,” or if a Facebook account isn’t required by the site, select an option to fill out the form manually. Because the tool works through an iframe, no data is shared with the website until the user clicks “Register.”

When a user registers for the site with their Facebook account (similar to Facebook Login), the site is given permission to access the user’s basic information on Facebook in addition to the data presented in the form, and in turn can provide the user with a personalized and social experience.

Getting started

To integrate the registration tool, simply add the iframe or XFBML to your site:

Using iframe:

<iframe src="http://www.facebook.com/plugins/registration.php?
             client_id=113869198637480&
             redirect_uri=http%3A%2F%2Fdevelopers.facebook.com%2Ftools%2Fecho%2F&
             fields=name,birthday,gender,location,email" 
        scrolling="auto" 
        frameborder="no" 
        style="border:none;" 
        allowTransparency="true"
        width="100%" 
        height="310px">
</iframe>

The redirect-uri should point to the page which will process your signed_request. You can customize the fields attribute to suit your needs. See the docs for a list of valid fields.

Using XFBML:

<fb:registration 
  fields="name,birthday,gender,location,email" 
  redirect-uri="http://developers.facebook.com/tools/echo/">
</fb:registration>

The redirect-uri and fields are identical to above. You must use your own app_id for the redirect-uri to be on your domain.

For more details on getting started with your implementation, please visit our technical documentation.

We hope you’ll try it out and let us know what you think.

Paul, an engineer on the Platform team, will register for your site if you use this tool. 1 more user!

Posted on 16 December 2010 by Paul Tarjan

Facebook Registration Tool

Archive

16 Dec 2010 Facebook Registration Tool
28 Sep 2010 Wisconsin Hackathon 2010
14 Sep 2010 GATech Hackathon 2010
10 Jun 2010 Debugging URLs with the Facebook URL Linter
29 May 2010 Slogging
03 May 2010 Graph Likes Over Time
02 May 2010 Don't Throw Your Money Away
30 Apr 2010 Blogging With Jekyll
29 Apr 2010 Twitter inside Facebook
26 Mar 2010 Goodbye Yodel, Hello Friend
30 Oct 2009 Rock Band Group Algorithm
20 Oct 2009 File Extensions on the Internet
30 Sep 2009 Hadoop Hacking on Yahoo! Ad Data
15 Sep 2009 Converting from MyISAM to InnoDB takes a long time
07 Sep 2009 Paul Is A Nerd
26 Aug 2009 List of Guilded WoW players
18 Aug 2009 stdicon
16 Aug 2009 We won hack day!
12 Aug 2009 Online YAML parser
29 Jul 2009 SearchMonkey Object Examples
16 Jul 2009 Only 1 word left on google voice, and its mine!
15 Jul 2009 What is "git"
03 Jul 2009 OpenID Avatar
29 Jun 2009 Easy OpenID Delegation with Yadis
28 Jun 2009 Equivalent OpenIDs
27 Jun 2009 Blogger Theme with hAtom Microformat
20 Jun 2009 Debugging django
01 Jun 2009 Incomplete Format
24 May 2009 Password Management
10 May 2009 St. Maarten/Martin
05 Mar 2009 My Performance Review
19 Feb 2009 SearchMonkey Video
30 Jan 2009 SearchMonkey Song
09 Jan 2009 Best Cube Prank
18 Nov 2008 Subway Card
17 Nov 2008 Gopher the Pun
03 Nov 2008 Great Sentences
02 Nov 2008 Halloween Costume
27 Oct 2008 Python Ninja
12 Oct 2008 World pictures
06 Oct 2008 SearchMonkey Presentation
02 Oct 2008 Spell chequer
15 Aug 2008 Straight out of San Mateo
04 Aug 2008 Sicko
24 Jul 2008 All in one feed
17 Jul 2008 GTA IV too much
13 Jul 2008 Europe 2008
12 Jul 2008 The Birth of a Blog