0
我得到以下錯誤:INVALID_SIGNATURE使得從Yelp的API請求時2.0
error:
{
text: "Signature was invalid",
id: "INVALID_SIGNATURE",
description: "Invalid signature. Expected signature base string: GET&http%3A%2F%2Fapi.yelp.com%2Fv2%2Fsearch&location%3DChicago%26oauth_consumer_key%3DXXXXXXX%26oauth_nonce%3D463302045%26oauth_signature_method%3DHMAC-SHA1%26oauth_timestamp%3D1405938184%26oauth_token%3DXXXXXXX%26term%3Dfood"
}
當我檢查我的生成的簽名基本字符串,它們匹配100%,所以我不知道問題出在哪裏。我正在關注this msdn sample。
你是如何解決它的? – NumenorForLife