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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Twitter effectively killing JSONP too

66 点作者 dansingerman超过 12 年前

9 条评论

mootothemax超过 12 年前
This doesn't mean killing JSONP dead, it just means that you'll need a server-side script to generate oauth-authenticated URLs first.<p>This is what I do in one application right now, and it works really well, meaning that for the calls in question, the rate limit applies to the user's IP and not our server's.
评论 #4488942 未加载
评论 #4488866 未加载
评论 #4489293 未加载
mcherm超过 12 年前
The lesson is not "do not build on someone else's platform", but "be careful whose platform you build on". There have been signs for quite some time now that twitter was not particularly supportive of things built on them.
评论 #4489524 未加载
mmahemoff超过 12 年前
They "sunsetted" @Anywhere so they can focus on embedded tweets, a more focused attempt to provide badges/widgets for browsers. So really I doubt they want browser apps calling their API directly, but rather to use their embed timelines.<p>I realise that's a tiny subset of what's possible with the JSONP API, but that's my guess about why they won't support JSONP.<p>And, if they do shut it down, it sucks. I've run <a href="http://listoftweets.com" rel="nofollow">http://listoftweets.com</a> for several years and made various other Twitter mashups using their JSONP API.
zachalexander超过 12 年前
I'm wondering (a) if people are going to switch to screen scraping as a way to avoid the new API restrictions, and (b) how much Twitter could do to thwart such attempts.<p>My (uneducated) guess is that it might play out like other DRM wars. Twitter could come up with new ways to scramble their HTML/CSS/JS to make it harder to automatically scrape... until scrapers evolved to deciper the new patterns, ad infinitum.
评论 #4489926 未加载
posabsolute超过 12 年前
They will be killing a lot of third party plugin too, a good example would be the wordpress plugins, a lot of them use the jsonp stuff.<p>Seems weird to mee, but hey, anything to make money in the end I guess
kemayo超过 12 年前
Well, goodbye twitter widgets on lots of websites, I guess. (deviantART does a JSONP widget on user pages, lots of wordpress plugins do it, etc...)
评论 #4489395 未加载
missing_cipher超过 12 年前
Does this mean that "<a href="http://api.twitter.com/1/statuses/user_timeline/&#60;user&#62;.json" rel="nofollow">http://api.twitter.com/1/statuses/user_timeline/&#60;user&#6...</a> will be deprecated? Or is this talking about authentication?
评论 #4489021 未加载
评论 #4490137 未加载
评论 #4488959 未加载
Tichy超过 12 年前
Do all calls to the Twitter API require authentication now? It used to be that some calls (like search) did not require authentication, and I would assume those would still work with JSONP?
评论 #4489357 未加载
dreamdu5t超过 12 年前
Good. JSONP is stupid anyway.
评论 #4490959 未加载