TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Simplest and most concise Twitter OAuth implementation

18 pointsby rantfoilover 14 years ago

2 comments

josephholstenover 14 years ago
Way to build a short and beautiful step path to the land of Not Invented Here. It's one think not to write a tutorial to using one of the well supported OAuth gems. But you didn't actually commit to helping people either. If (and when) someone finds a bug in your implementation, they won't be able to fix it with a gem update, they'll just have to return to your gist for the lifetime of their app.<p>On the other hand, you've done a beautiful job at showing how simple OAuth can be. If I ever want to write a twitter client in Io or something, I'll definitely be ripping off your (apparently still copyrighted) code to do it.
评论 #1661924 未加载
shadytreesover 14 years ago
Just for fun, I thought I'd round it out by implementing the last two steps of OAuth (sending the user to Twitter and exchanging a PIN for an access token) since somebody else already did all the hard work :D<p><a href="https://gist.github.com/564687/" rel="nofollow">https://gist.github.com/564687/</a>
评论 #1661679 未加载