title: Google Chrome Extension + Login with Facebook + Parse
body: <p>I'm trying to build a google chrome extension, a use case requires that users can login with Facebook and share via a post to their Facebook wall.</p>
  
  <p>The correct application flow would be as such:  </p>
  
  <ol>
  <li>User click google chrome extension - summons extension page</li>
  <li>User clicks "login with facebook" on the extension page (or in a new tab) the users then see the "approve app" from Facebook</li>
  <li>The user approves the app</li>
  <li>The user is directed to a new page that thanks them for installing and processes all the needed user information  OR  the user is sent back to the google chrome extension (better way)</li>
  <li>If the user is not sent back to the google chrome extension, they should be told to do so, but at this point how to get the data to the google chrome extension?</li>
  <li>The user opens to the Google chrome extension, they should now see "Hi John" or similar instead of "Login with Facebook"</li>
  <li>The user can no post to Facebook</li>
  </ol>
  
  <p>My major hick-ups are logging in with Facebook, and getting the data back to the extension.</p>
  
  <p>I've created a Facebook app, done most of the coding specific to the app, I'm trying to keep the app just javascript (but I can add in php if there is no other way), tried using the standard Facebook javascript, and tried using the desktop client for Facebook.</p>
  
  <p>Anyone else gone through this process of connecting Google Chrome Extensions and Facebook login before?</p>
  
  <p>As a final note, I'm trying to with with Parse for this project, so if you have any extra insite on that it would be great too!</p>
  
  <hr>
  
  <p>A good example of what I'm trying to accomplish is similar to what Any.do 
  <a href="https://chrome.google.com/webstore/search/any.do?utm_source=chrome-ntp-icon" rel="noreferrer">https://chrome.google.com/webstore/search/any.do?utm_source=chrome-ntp-icon</a></p>