oauth - MAking API request always got "token_rejected" error -


i have developed oauth component, , completed yahoo's oauth process, got oauth_token.

but when make api call yahoo api (like contact or yql), "token_rejected" error message.

http 401

signature: 6fr3vdyggrrco+wrs6tld3hjhmi=

base_string:

get&http%3a%2f%2fsocial.yahooapis.com%2fv1%2fuser%2fmomjs2m2ksmqkt2d q4o7ns4jfu%2fprofile%2fusercard&oauth_consumer_key%3ddj0yjmk9zmzzufvqblzzm1jvjmq 9wvdrou9gbfnrmujutmprbwnhbzlovfuytwprnu9ewxkmcz1jb25zdw1lcnnly3jldcz4ptjk%26oaut h_nonce%3d2366072fe9829333b98eb6f2a7539afa%26oauth_signature_method%3dhmac-sha1% 26oauth_timestamp%3d1305099596%26oauth_token%3da%3d4cneo.njj1_c6xtkvr3o5x3voyqrn hhk3sbfh76pptcka07wf69oadx8zu7o0dpsraun77uibw.5bek5opw15a8ssemxquervhhhpuahtm0sb uugbosmxapwbdu1.e4oeqqmxivkrfhy81evbidclbcxzeg.y.eeudnfdkp_suvakko.i6tazpbfkqa1c __7baqo5m74cisalgwyyi8z99eitplzq_llb7czzhowjtvzvavh_hou2jbbjswp00agb.ovxqt0ayf0. whg2v7hhfhvh.mex6h0oa8rgpuszr68dviiiplfv6g.fgcf3gsne4uvnidwm2.x4lf37slpgwqmjuttx b8uvltqu0auc_ycbgc9wsiuhepwehpzkgq6lf.g0mz9vj5i_9jbzzljd52ffuomdvs97qeet4crra.0p hwt1dwx16pv.cmhrxshuqckdxvmcgpzi5rxd6fr2qocoqnoof6e3rgqaz1cf_ky4bgkfkwva_rf.peog piauyf1l9cftg2zj1hkyhgztcybjzemoxo3wtod8phm3cugjwvgcaibfdf1ntu6bmsqa_azfjz11ou8n f1kjefsf9wuphovgs_qotaut8b5rv8cxd.mczylghscwioy339qjgz6nz2pvchf2p2rd0jhbnr_ozhwb 5l9lbboh9rm5tkhm7n2hsdxasxsfa6rlu5gguzu7xfenq44o7hmcbyfl4sl6vdoz9hiutjyh8ghhytm0 iiu.o.gh_tnpjlvz8j6t2g2w1l5jgcyz8k_d7bn8ehl9fnwffqzqgmtxqjqpifatcq.h.91zp_uc4mij gzvwnfe8n80n7hzkva-%26oauth_version%3d1.0 

response:

<?xml version='1.0' encoding='utf-8'?> <yahoo:error xmlns:yahoo='http://yahooapis.com/v1/base.rng' xml:lang='en-us'> <yahoo:description>please provide valid credentials. oauth oauth_problem="toke n_rejected", realm="yahooapis.com"</yahoo:description> </yahoo:error> 

i sure access token not expired.

how resolve problem? thanks.

i had resolved question, reason missed query string, when encoded query string base string, issue had been solved.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -