TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Simplest and most concise Twitter OAuth implementation

18 点作者 rantfoil将近 15 年前

2 条评论

josephholsten将近 15 年前
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 未加载
shadytrees将近 15 年前
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 未加载