开发者

Simplest Twitter authentication

What is the very, very simplest method of getting the RSS (or JSONP) feed of a Twitter account's list or friends' timeline?

Here some background: I have a simple server script that feeds a Twitter widget. I wrote the script about two months ago but have not had the chance to deploy it until now. The script fetches the friends_timeline of a dummy account whose sole purpose is to combine the "friends" tweets into a single RSS feed (rather than making one request for every "friend"). Simple, lightweight, easy to maintain, light on Twitter's servers; seemed to be a good solution at the time. Well, friends_timeline requires authentication and right now the server uses NetworkCredential to pull down these RSS feeds. As a lot of you know, 开发者_JAVA百科in August Twitter will cease to support basic authentication and force march everyone over to OAuth. I've looked through the OAuth documentation and I'm not very happy with Twitter right now.

I'm also hoping to avoid using the Twitterizer framework. That's a lot of code to check and it won't go near our production servers without a thorough code review. I know that reinventing the wheel is a bad thing, but in this case all I want is the wheel, not a race car.


This page provides a smallish C# Oauth code: http://oauth.net/code/

Don't hate twitter, it was a good idea.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜