title: Retrieve xbox live gamertag after login
body: <p>I want to login in my website with a verified gamertag by XBOX Live.</p>
  
  <p>So I think I have two chances: </p>
  
  <ul>
  <li>use the openId ( and web auth API ) offered by Microsoft, but I can only retrieve user's real name, and I don't know how to retrieve the real gamertag</li>
  <li>implement by myself a login with Curl on live.com ( quite hard due to the high number of parameters, among other things, they are javascript generated.. )</li>
  </ul>
  
  <p>Does anyone know any solution?</p>
  
  <p>PS: my website is in PHP, but any resource is welcome</p>