开发者

using oauth with delicious and/or flickr

开发者 https://www.devze.com 2023-03-14 14:20 出处:网络
First time question asker, long time question... lurker? Anyways I am not new to coding or to php but I am new to oauth, and while it turns out I don\'t actually need oauth for this project it\'s rea

First time question asker, long time question... lurker?

Anyways I am not new to coding or to php but I am new to oauth, and while it turns out I don't actually need oauth for this project it's really bugging me that I was failing on get_request_token on both delicious and flickr.

Following along with the instructions @ delicious I consistently and without fail get the result of "oauth_problem=signature_invalid" which leads me here.

I have the API/Consumer Key and the Consumer/Shared Secret and swapped in those values as well as a fresh time stamp into the example get url, but like I said without fail I get the signature invalid error.

I found del开发者_Python百科icious support threads that said to drop in "%26" on the signature when your signature method is plaintext but that didn't help, and I can't find any examples of people failing at such an early step, which is why I throw myself at the mercy of stack overflow...

I realize I am probably doing something stupid/foolish but I am a newb to oauth...

Any help would be incredibly appreciated.


You're calculating your oauth_signature incorrectly. A common pain point is not including oauth_verifier in your oauth request, as per the Oauth 1.0a specification.

Since you didn't provide any code, nor any libs that you're using, I'm unable to validate what you're doing.

0

精彩评论

暂无评论...
验证码 换一张
取 消