开发者

Status Update using Nerilcrookes' OAuth extension to CakePHP HttpSocket returns "incorrect signature error"

I'm using Neilcrookes' OAuth extension to CakePHP HttpSocket ( http://www.neilcrookes.com/2010/04/12/cakephp-oauth-extension-to-httpsocket/ )

My request looks like:

Array ( 
    [method] => POST 
    [uri] => Array ( 
        [host] => api.twitter.com
        [path] => 1/statuses/update.json
    )
    [auth] => Array (
        [method]开发者_如何学JAVA => OAuth
        [oauth_token] => xxx
        [oauth_token_secret] => xxx
        [oauth_consumer_key] => xxx
        [oauth_consumer_secret] => xxx
    )
    [body] => Array (
        [status] => Hello World
    )
)

I have the oauth_token and oauth_token_secret from the previous request from the user

response looks like {“request”:”\/1\/statuses\/update.json”,”error”:”Incorrect signature”}

Thanks in Advance


Just a wild guess: But could it be that your signature isn't correct?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜