Zend_Services_Twitter, change the API Source name
I am sending tweets to Twitter via Zend_Service_Twitter.
The tweets appear with a note "via 开发者_开发知识库API". I want to set the API Source with a different name, is there already a functionality within the Zend Framework to change it?
Or do I need to subclass to get this functionality?
Thanks!
Twitter is dropping the Source parameter since they're going to drop basic auth support in a few weeks as well, replacing it with OAuth which has the Source stuff built in. Like the commenter says, watch the Zend_Service_Twitter class in the coming weeks for a version that supports OAuth.
Please note, if you want to change the "Source" you have to use Oauth for authentication.
Twitter OAuth and Source
精彩评论