开发者

Using Twitter OAuth to post updates automatically

Here's my scenario.

I have a web site, which automatically posts updates to Twitter using cURL at the moment.

But I hear Twitter is going to turn this feature off and move t开发者_Python百科o OAuth.

I tried implementing OAuth in my site, but the user actually has to manually authenticate before being able to post anything to twitter.

How can I use OAuth and still let my website post updates automatically, without me having to manually click on "authenticate"?


If you are planning on using a single Twitter account have a look at this page: http://dev.twitter.com/pages/oauth_single_token


You can post updates automatically with OAuth. The token does not expire automatically, so you can store it in the database and use it repeatedly later.


Twitter offers you single accesss token and its ideal for those applications migrating to OAuth with single-user use cases. Tutorial describes how to get started using OAuth directly with an access token.

Here is an example shows how to implement Twitter OAuth with .NET and attached sample code.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜