Evaluate the XML response
Now we issue this request to the people resource, and if all is successful, you’ll get something
like the following XML response, with your own proﬁle values in place of my own.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<headline>Technical Evangelist at LinkedIn</headline>
If the access token is invalid, or your signature was not properly calculated, you will receive a
401 Unauthorized error. There is always interesting debugging information in the XML body of
a failed request and the HTTP headers we return to you. Maybe your timestamp was off by a
few minutes? Maybe your signature was invalid? Maybe the access token is no longer valid?
Requesting your own proﬁle