First time poster here...
I seem to be having a similar problem. I am able to get a token, token secret and the other applicable values (session handle, GUID, etc.) through PLAINTEXT. Once I try to make an API call (which to my understanding is required to be signed using HMAC-SHA1), I am always getting a 401 - Unauthorized response.
I have read in a few posts that the order of the parameters and which ones are URL encoded is important, but I can't find out what this should be. Does anyone know for sure?
For reference, here is the request normalized:
CODE
GET&http%3a%2f%2ffantasysports.yahooapis.com%2ffantasy%2fv2%2fteam%2f248.l.18532.t.1%2froster
&oauth_consumer_key%3ddj0yJmk9NjJTSFBuWjZRbW5SJmQ9WVdrOVdWbENSMDUxTmpRbWNHbzlNQS0tJnM9Y29uc3VtZXJzZW
NyZXQmeD0xNA--
%26oauth_nonce%3d3998591%26oauth_signature_method%3dHMAC-SHA1%26oauth_timestamp%3d1288020099
%26oauth_token%3dA%3dNwZqpJf_uAXfzheug.qm2t.gR4pzmwPSVfGFVhUqdYyaSx9LLxqGlsfm7xslyOqx0toqyu5xPAM3h9
hFK1yFhT9pL_2ZNkMAsH_pRfRrgznU3E6Rmb1CotmqP5lzk0YGqeZiKuyBHUSUXv1muPXFrBp2shlZpU4
75nyAR9Cy.cqsfv_71sVKBPT7UT8Hv0OcQrsjYQeMhR94Zo2v9HBmdRi28P9O4.kgG.HSfguiwqIiKmMt
6JMivFIhSGBqna17sWwnPpkUZLV_e8mqDJJroaD3iGX0KcXVrBEMC6GvDVqpgtbf4cFMY92BdKiMLADB2
OXnr0XbTMiiENp.wfTu9Yy7EkaxVKX60Rilg97ZFDWyGPC1uFUpLHtVI7kDlgzg_c_Pqupc70pycWK4Fn
nT3Z1v874kjl5M6rx1Fgo0.rRD6oGmNf__aIQG65QbBEkPVoEw9PlGRGghWh8optAwRQ1stmQcxJLbcFl
LEbDDu_bmskQ_4RVgMnDm9Xk7rEfCCnrbvAGpdtrn.lU_5DKbWZeDc09Ih3QtdCaE_Z_spUWpGiGsZgtb
FTte9K78_Vc1ijWmNZIusX_XXXGOhFMvy4V1M51Oqg7uRyziBhFsYZvs5u8JzW5h3u_Xz0beMUW2l.VbH
LPnBArCZ7TlXrnSB9pjcKffyCLIe4n0aGDPsXvmYH6PUZqOCWjmuzw0ih8jFICkmeHep9SGro5i8hnwHU
9y.ASx6L5Tx4k-%26oauth_version%3d1.0
And here is the URL I am calling once the signature is produce from the previous normalized URL:
CODE
http://fantasysports.yahooapis.com/fantasy/v2/team/248.l.18532.t.1/roster?
oauth_consumer_key=dj0yJmk9NjJTSFBuWjZRbW5SJmQ9WVdrOVdWbENSMDUxTmpRbWNHbzlNQS0tJ
nM9Y29uc3VtZXJzZWNyZXQmeD0xNA--&oauth_nonce=4327908&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1288020606&oauth_token=A=Jnasb4fgjz1NAnK9TD047Mr_IMEjUiVrB42UsZFvCeYCwa53vbgHSZzLvO3bOr
N5GX1sTjHzjGK4JE_XtCoJJsRMKq80OiFybJynzJTQLlKfK8h73JMmZmYeoBEpOUMeZwIVRdsekH2Xhf9
k8mDEFUeJjozaetsCNc_Pf_vq4QmM_Nskh_bWlMgReT.UQPomWzGlji54wnqqBX7IYipLG0IGx8L.m9og
IXRCr2J4CyZte2lrElldwLIIVNLY0evLNzakFr2C249EytXEdsi0Qpnz3zEjyQ8nFM3fd1M0ALj8E8M_w
nQVOiltps5x0rUeTuzUABJMcUGwaJICWUpyLzWcvd5M8ksFv5e6f9oE2pVGEu7m0UelGr6urXNBfeRp.V
LRSwcrylS_LCbhl56yDPSXJVuhby4dEe52QbpDGd6urDJtShzuxvmxWxjjVGq8yz7RciVOIpQhgqQ.zPV
LIPodXf2XQJDXWnGdN7IPZS36viShLuSXqFbU0H067bIJQBYC49jMNrPWcAny8n_B6JG525k8oz2zNy.y
dBtys9cqPpjByTqlCIqXoSCt6SZwKY1SBJROZKfSzT3bo3ccAYk8phs.eHMo88QIuwmLnFkHM_MNXZNvp
y1rvJckPolyPCz_7YVXTUzW.by.N97ASHhf1x4dyEekHAKMzTsKUY3jXYwE_2MxdIY1o9PibbYkzljQAI
Jt5hvINxyKHkgMShjwm8MUqzKW0PM-&oauth_version=1.0&oauth_signature=fwucIwhiatKkopV1pSO%2fKirqYlk%3d
You may notice that in the normalized URL, the token is URL encoded while in the signed call, it is not. I've tried both ways and was still unsuccessful. I hope I'm missing something simple since I'm new to OAuth, but I've tried a number of different things and have had no luck.
Thanks to anyone who can be of assistance.