Before you begin, you must have an access token from live. You can get one by clicking here.
You are also able to use your own Microsoft Azure application by requesting an access token with the XboxLive.signin
scope. If you go this route, you must prefix your access token with d=
when passing it to xbox.