I would like to use the Facebook Registration tool.

I've read the documentation on https://developers.facebook.com/docs/plugins/registration/

I've also gave a look at plugins like Simple Facebook Connect http://wordpress.org/extend/plugins/simple-facebook-connect/ - However my setup is quite customized and I don't use regular Wordpress registration and login forms (I use Theme My Login plugin for Login and Gravity Forms plugin for Registration), which is where Simple Facebook Connect hooks into (plus with Gravity Forms I have standard user registration disabled altogether - that also helps to keep spammers away).

I thought, maybe I can place a Facebook login button somewhere in the header (where I have a login form with TML) and a create a register-with-facebook page template for handling the registration, using this button as mentioned in the Facebook doc:

<fb:login-button registration-url="https://developers.facebook.com/docs/plugins/registration" />

// If the user arrives at your site logged out of Facebook, the button will say Login.
// When the user clicks it, she will be prompted to enter her Facebook username and password.
// If she has not registered for your site, she will be redirected to the URL you specify in the registration-url parameter.
// If she has already registered for your site, the button will fire an onlogin() Javascript event. When this event is fired you should login the user to your site.

In the special facebook registration page I would have something like:


(these are untouched examples from the Facebook documentation)

Now, for the tricky part, how do I filter the JSON output from Facebook and tell Wordpress to fetch the data, check if the user exists already or not, if not register a new user otherwise perform a login? Especially if I don't use the above code in a Wordpress standard login/registration page/form?

  • I'm wondering, did you figured IT out? Commented Jan 6, 2013 at 19:00
  • I found this plugin wordpress.org/extend/plugins/social-connect
    – unfulvio
    Commented Jan 7, 2013 at 0:40
  • Thanks. Yeah I found the plugin too but doesn't work for me. I want fully custom button and location Commented Jan 7, 2013 at 9:03
  • you could hack/fork/rewrite the plugin to change the bitmaps used for the buttons or remove the buttons with something else
    – unfulvio
    Commented Jan 7, 2013 at 19:04

1 Answer 1


For Fb Login/Registration, Read The Article link Given here

  • 1
    While the link might answer the question, you should include the essential parts of the answer here and only provide the link for reference. Link-only answers can become invalid if the linked page changes. See How to Answer.
    – Gabriel
    Commented Dec 29, 2015 at 5:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.