hi folks,
getting 401s from the webservice ... i've tried creating tokens twice
and have used both simulated users and opted-in developer mode handset
here's debug log using a simulated subscriber
Wed Sep 22 20:36:22 -0700 2010 | Veriplace_Client | DEBUG |
getProtectedResource(
https://veriplace.com/api/1.2/invitations/)
Wed Sep 22 20:36:22 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
>> POST
https://veriplace.com/api/1.2/invitations/
Wed Sep 22 20:36:22 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
>> Accept: text/xml
Wed Sep 22 20:36:22 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
>>
oauth_version=1.0&oauth_nonce=a65983bd73503bd8e8d22379bf734b78&oauth_timestamp=1285212982&oauth_consumer_key=q5kK8O5s0eUm7ZbMqjBX&mobile=0026529891&sendUserConfirmation=false&callback=http
%3A%2F%2Fmydomain.com%2Fveriplace%2Fsdk%2Fexamples
%2Finvitation.php&oauth_token=ld60OMJ3nwLj91mKWWqt&oauth_signature_method=HMAC-
SHA1&oauth_signature=DmZww%2BXrkVVq06LjE99IaBnU0wk%3D
Wed Sep 22 20:36:23 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
<< 401
Wed Sep 22 20:36:23 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
<response>
Wed Sep 22 20:36:23 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
<oauth_parameter name="oauth_error_code">401</oauth_parameter>
Wed Sep 22 20:36:23 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
<oauth_parameter name="oauth_error_text">Invalid/expired token</
oauth_parameter>
Wed Sep 22 20:36:23 -0700 2010 | Veriplace_CurlHttpRequest | DEBUG |
</response>