简体   繁体   English

php webservices到Twitter

[英]php webservices to twitter

can i tweet from webservice to twitter using oAuth? 我可以使用oAuth从Web服务发布到Twitter吗? Could anyone please tell me what I should do? 谁能告诉我该怎么办?

The following PHP Twitter libraries support OAuth: 以下PHP Twitter库支持OAuth:

They are fairly similar: about the only difference is that twitter-async uses asynchronous Curl calls to Twitter which may be faster depending on what you are doing with the Twitter API. 它们相当相似:唯一的区别是,twitter-async使用对Twitter的异步Curl调用,这可能会更快,具体取决于您对Twitter API的处理方式。

If you have a one to one mapping between a twitter account, and your web service, you still need to authorize an access token at least once. 如果您在Twitter帐户和Web服务之间具有一对一的映射,则仍然需要至少授权一次访问令牌。

Once you have an authorized access token, you can make twitter requests as needed. 获得授权的访问令牌后,您可以根据需要发出Twitter请求。

Just a guess that this is what you want though... 只是猜测,这就是您想要的...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM