1

OAuth oauth_problem="parameter_rejected: oauth_consumer_key", realm="yahooapis.com"

hello all,
i'm new in this forum, so sorry if i posting in the wrong forum.

i'm trying to develop small app that using delicious API via oauth. i'm using the same code for twitter oauth, with minor modifications. the oauth process going smooth and i can get couple of variables from yahoo servers, ie:
CODE
[access_token] => Array
(
[oauth_token] => {hidden}
[oauth_token_secret] => {hidden}
[oauth_expires_in] => 3600
[oauth_session_handle] => {hidden}
[oauth_authorization_expires_in] => 866830289
[xoauth_yahoo_guid] => {hidden}
)


problem comes up when i'm trying to access delicious API https://api.del.icio.us/v2/posts/update
i got this error:
CODE
<yahoo:error xmlns:yahoo='http://yahooapis.com/v1/base.rng'
xml:lang='en-US'>
<yahoo:description>Please provide valid credentials. OAuth oauth_problem="parameter_rejected: oauth_consumer_key", realm="yahooapis.com"</yahoo:description>
</yahoo:error>
<!-- fe12.api.del.ac4.yahoo.net uncompressed/chunked Sun Aug 1 02:07:51 PDT 2010 --


done so far:
  • http://developer.yahoo.net/forum/index.php?showtopic=6277 appID: ASLvOt54, its OAuth app.
  • http://developer.yahoo.net/forum/?showtopic=3065&cookiecheckonly=1 << no answer
  • Reorder the Authorization http header vars as http://delicious.com/help/oauthapi#7 with NO luck


is there any for this problem?

by
8 Replies
  • any clue for this problem??

    many thanks in advance.
    0
  • Hi,

    Can you please provide your consumer key here? Is it possible that
    you didn't specify the Delicious scope when registering for the
    consumer key?

    Thanks,
    Yu Wang
    Yahoo! Membership Team
    0
  • QUOTE (omiga @ Aug 2 2010, 03:00 PM) <{POST_SNAPBACK}>
    Hi,

    Can you please provide your consumer key here? Is it possible that
    you didn't specify the Delicious scope when registering for the
    consumer key?

    Thanks,
    Yu Wang
    Yahoo! Membership Team


    hello yu wang,
    my consumer key: dj0yJmk9cVdndGxhNGtpUUJnJmQ9WVdrOVFWTk1kazkwTlRRbWNHbzlPVEkzTmpreU1EWXkmcz1jb25z
    dW1lcnNlY3JldCZ4PTU1
    nope. i selected delicious from apps list.
    0
  • Hi,

    I checked the consumer key and it looks fine. Can you please send
    us the complete HTTP request so we can check why it fails? You
    can send it to yuwang AT yahoo-inc.com.

    Thanks,
    Yu Wang
    0
  • QUOTE (omiga @ Aug 3 2010, 10:47 AM) <{POST_SNAPBACK}>
    Hi,

    I checked the consumer key and it looks fine. Can you please send
    us the complete HTTP request so we can check why it fails? You
    can send it to yuwang AT yahoo-inc.com.

    Thanks,
    Yu Wang


    hello yu wang,
    thanks for getting back here.. :)is there something wrong with my requests??
    0
  • Hi,

    We do need to see the complete request to check where it may go
    wrong because any typo or missing character can cause the
    failure.

    Thanks,
    Yu Wang
    0
  • QUOTE (omiga @ Aug 4 2010, 10:40 AM) <{POST_SNAPBACK}>
    Hi,

    We do need to see the complete request to check where it may go
    wrong because any typo or missing character can cause the
    failure.

    Thanks,
    Yu Wang


    it's GET request, so i only pass the url, https://api.del.icio.us/v2/posts/update
    do you need the complete code?
    0
  • Hi,

    What's the query after the URL for your GET request?

    We want to see something like the following that gives all your
    request parameters in the query:

    https://api.login.yahoo.com/oauth/v2/get_to...feff55027ede%26

    Thanks,
    Yu Wang
    0

Recent Posts

in OAuth General Discussion YDN SDKs