I'm working on an application that interfaces between App Engine, a
Chrome Extension, and Android. I've managed to get the Chrome
extension authenticating fine through OAuth (oddly, without ever using
the App Engine OAuth library...? It just detected
users.get_current_user()) but the Android client is giving me some
trouble. I'm using Apache's HttpPost to send the request, and SignPost
to sign it.

My request is as follows: "POST /links/add?
oauth_signature=VPt6v7SEJ0xGv7TDLjPe5vtoc7E%3D&oauth_token=1%2Fu0QvC-
RMgDC9lq3B3PjFHjBZZ39colyxwj9q96qm--
o&oauth_consumer_key=anonymous&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=1276711674&oauth_nonce=-5410272903654758759 HTTP/
1.1" with a single key/value pair attached.

I keep receiving:

"Traceback (most recent call last):
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
ext/webapp/__init__.py", line 513, in __call__
    handler.post(*groups)
  File "/base/data/home/apps/android2cloud/1.342714137082534334/
main.py", line 44, in post
    elif oauth.get_current_user():
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/oauth/oauth_api.py", line 86, in get_current_user
    _maybe_call_get_oauth_user()
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/oauth/oauth_api.py", line 152, in _maybe_call_get_oauth_user
    _maybe_raise_exception()
  File "/base/python_runtime/python_lib/versions/1/google/appengine/
api/oauth/oauth_api.py", line 167, in _maybe_raise_exception
    raise InvalidOAuthParametersError
InvalidOAuthParametersError"

Is this trying to tell me that my signature and token do not match, or
am I doing something else wrong? The request is virtually identical to
the Chrome extension that is working, so I can't figure out what the
issue could be.

Thanks,
Paddy Foran

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to