title: How to integrate Facebook into WordPress registration/login?
body: <p>Here's what we hope to accomplish:  a WordPress site that will allow users to register/login EITHER with Facebook OR WordPress and have the same access to posts/pages/content.  From all the research thus far, this doesn't seem trivial...</p>
  
  <p>Here's our requirements:</p>
  
  <hr>
  
  <h2><strong>User Registration</strong></h2>
  
  <p><strong>Facebook</strong></p>
  
  <ul>
  <li>New users can connect with Facebook by clicking a button and then granting the requested permissions to our Facebook App.  The permission-grant is a one-time event. </li>
  <li>They will have to log into Facebook if they aren’t already.  </li>
  <li>When they connect for the first time a WordPress account will automatically be created for them.  This integrates Facebook and WordPress.</li>
  <li>This free plugin may be a good starting point to integrate the two systems - <a href="http://wordpress.org/extend/plugins/simple-facebook-connect/" rel="noreferrer">http://wordpress.org/extend/plugins/simple-facebook-connect/</a></li>
  <li>Here’s another one that only handles the WordPress account creation based on a Facebook session.  What it’s lacking is the ability to use the Facebook session to login after registration (it requries the WordPress username/password).   <a href="http://wordpress.org/extend/plugins/facebook-registration-tool/" rel="noreferrer">http://wordpress.org/extend/plugins/facebook-registration-tool/</a></li>
  </ul>
  
  <p><strong>WordPress</strong></p>
  
  <ul>
  <li>If the users doesn’t have a Facebook account or chooses not to connect through Facebook, they can manually create a WordPress account. </li>
  <li>Required fields are:  username, email, password</li>
  </ul>
  
  <h2>User Login</h2>
  
  <p><strong>Facebook</strong></p>
  
  <ul>
  <li>If the user has already granted permissions to our Facebook App, they will be auto-logged-in if they have an active Facebook session and visit our website.</li>
  <li>Otherwise, the user will have to first log in to Facebook.</li>
  </ul>
  
  <p><strong>WordPress</strong></p>
  
  <ul>
  <li>The user can choose to login with the username/password they created.</li>
  </ul>
  
  <hr>
  
  <p>Any words of wisdom on how we can accomplish these requirements?</p>