title: Using socialoauth to get twitter/facebook data
body: <p>I'm using socialoauth (<a href="http://code.google.com/p/socialoauth/" rel="nofollow">http://code.google.com/p/socialoauth/</a>) to implement twitter &amp; facebook logins for a web site. The site is php and mysql based.</p>
  
  <p>I've got logins implemented and working, but I need to get the users screen name or email so that I can store their preferences about my site in a mysql database. I'm not sure how to go about getting their information once I've got the oauth_token and oauth_secret. I couldn't find any documentation or examples using socialoauth, aside from getting the logins working. </p>
  
  <p>I downloaded twitteroauth (<a href="https://github.com/abraham/twitteroauth" rel="nofollow">https://github.com/abraham/twitteroauth</a>), and mismashed that together with socialoauth.php via this tutorial (<a href="http://net.tutsplus.com/tutorials/php/how-to-authenticate-users-with-twitter-oauth/" rel="nofollow">http://net.tutsplus.com/tutorials/php/how-to-authenticate-users-with-twitter-oauth/</a>) and was able to get the twitter user's information, but I would prefer to use only socialoauth.php because it does logins for both facebook and twitter. </p>
  
  <p>Specific question: does anyone know which functions in socialoauth are used to get the user's information (hopefully for both twitter and facebook)? I'm very new to this, so it's possible I saw the function I needed while I was looking through the code, and simply didn't recognize it as what I needed.</p>