OAuth friends API broken?

2 views
Skip to first unread message

Philip Wasson

unread,
Sep 28, 2010, 3:18:49 PM9/28/10
to Brightkite API
If I GET
"http://brightkite.com/people/pwasson/friends.json?
oauth_token=<our_token>&oauth_consumer_key=<our_key>&oauth_signature_method=HMAC-
SHA1&oauth_timestamp=<some timestamp>&oauth_nonce=<a
number>&oauth_version=1.0&oauth_signature=<hex>", the response is an
HTML page with the title "Something went wrong!", but if I try the
same URL without any parameters or authorization, "http://
brightkite.com/people/pwasson/friends.json", I get back my friends
list as JSON.
(I used the CLI tool "curl" to perform the GETs after the URL was
generated in our Java program.)

Any suggestions?

LJHarb

unread,
Sep 28, 2010, 5:04:17 PM9/28/10
to Brightkite API
Hi Philip -

The same code runs the OAuth process for our entire API - it seems to
be functioning properly.

I see some of your errors in our logs - the value it's complaining
about is your oauth_timestamp. OAuth timestamps must be within 5
minutes of accurate and in GMT - is it possible your server's time is
incorrect?

Specifically, I see a timestamp of 1285698664 which is Tue, 28 Sep
2010 18:31:04 GMT - however, that error was posted at 1285703460 which
is Tue, 28 Sep 2010 19:51:00 GMT - about 80 minutes too early.

- Jordan
Reply all
Reply to author
Forward
0 new messages