API Call Parameters

16 views
Skip to first unread message

boredom2

unread,
Apr 25, 2011, 7:20:59 PM4/25/11
to misoapi
Hello,

I successfully made an OAuth Connection to the miso service (without
PECL/PEAR) and it works perfectly. I just wonder, how the parameters
should be attended to the call, whenever i want to set any parameter,
the result is "invalid oauth call".

for example:
http://gomiso.com/api/oauth/v1/checkins.json?count=10&oauth_consumer_key=31krgklQ5189XDTQJrJG&oauth_nonce=lET0q&oauth_signature=mdlUzIhtk55wEDW%2FZ5duRwvkXrI%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1303773085&oauth_token=Y5OaoCNHs5bnBrWOeGyS&oauth_version=1.0

fails. If i drop the "count=10", it works. I dont see any problem here
actually... the underlying OAuth Class is very simple, but always
worked (so far, even with Google GData API): https://github.com/jrconlin/oauthsimple

Thanks a lot,
Christoph

Nathan Esquenazi

unread,
Apr 28, 2011, 8:52:17 PM4/28/11
to mis...@googlegroups.com
Is there a way to include those OAuth settings in the header rather than in the query string? I think I have experienced in the past that usually resolves the issue. I know they should be able to be set either way but if it is possible to remove all oauth_xxx keys from the query string and into headers I think it should solve the issue.
Reply all
Reply to author
Forward
0 new messages