I found that many functions thats documented in Zend_Service_Twitter
seem to be no longer working, or maybe i did the wrong thing.
Zend_Debug::dump($twitter->account->verifyCredentials());
returned 开发者_运维问答
object(Zend_Rest_Client_Result)#50 (2) {
["_sxml":protected] => object(SimpleXMLElement)#55 (2) {
["request"] => string(33) "/1/account/verify_credentials.xml"
["error"] => string(19) "Incorrect signature"
}
["_errstr":protected] => NULL
}
This might very well be the case, as Twitter has updated their oAuth Authentication. It also broke my own oAuth Library. The big difference I found was that they added a oauth_verifier
, which I did not remember for seeing in the original oAuth documentation when I was building my own library.
This diagram on Twitter's Developer page helps explain.
- http://a0.twimg.com/images/dev/oauth_diagram.png
I can't really help you with the rest of your problem as I don't use the Zend Framework myself, but I think your assumption that it needs an update is correct.
精彩评论