The key and secret are from my app page,
http://developer.apps.yahoo.com/projects/F...iew=permissions. On that page I also set the radio button "Private user data selected below (Your end users must consent to each of these scopes):" and have Delicious set to Read/Write. All others set to No Access.
With curl
curl -H "Accept: text/plain" "https://api.login.yahoo.com/oauth/v2/get_request_token" -d "oauth_signature=<MY CONSUMER SECRET PASTED HERE>&oauth_consumer_key=<MY CONSUMER KEY PASTED HERE>&oauth_signature_method=PLAINTEXT&oauth_version=1.0&oauth_callback=oob&oauth_nonce=whatthe&oauth_timestamp=1270080043.42" -v
I get,
* About to connect() to api.login.yahoo.com port 443 (#0)
* Trying 72.30.12.29... connected
* Connected to api.login.yahoo.com (72.30.12.29) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: /usr/share/curl/curl-ca-bundle.crt
CApath: none
* SSLv2, Client hello (1):
* SSLv3, TLS handshake, Server hello (2):
* SSLv3, TLS handshake, CERT (11):
* SSLv3, TLS handshake, Server finished (14):
* SSLv3, TLS handshake, Client key exchange (16):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSLv3, TLS change cipher, Client hello (1):
* SSLv3, TLS handshake, Finished (20):
* SSL connection using AES256-SHA
* Server certificate:
* subject: /C=US/ST=California/L=Santa Clara/O=Yahoo! Inc./OU=Yahoo/CN=*.login.yahoo.com
* start date: 2009-08-06 16:15:22 GMT
* expire date: 2014-09-07 01:34:02 GMT
* common name: *.login.yahoo.com (matched)
* issuer: /C=US/O=Equifax/OU=Equifax Secure Certificate Authority
* SSL certificate verify ok.
> POST /oauth/v2/get_request_token HTTP/1.1
> User-Agent: curl/7.16.3 (powerpc-apple-darwin9.0) libcurl/7.16.3 OpenSSL/0.9.7l zlib/1.2.3
> Host: api.login.yahoo.com
> Accept: text/plain
> Content-Length: 304
> Content-Type: application/x-www-form-urlencoded
>
< HTTP/1.1 401 Forbidden
< Date: Wed, 31 Mar 2010 23:53:46 GMT
< P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="CAO DSP COR CUR ADM DEV TAI PSA PSD IVAi IVDi CONi TELo OTPi OUR DELi SAMi OTRi UNRi PUBi IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC GOV"
< WWW-Authenticate: OAuth oauth_problem=signature_invalid
< Connection: close
< Transfer-Encoding: chunked
< Content-Type: application/x-www-form-urlencoded
<
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
oauth_problem=signature_invalid[1]- Exit 2