2009-10-11
TwitterにてLDRizeでPinを立てた発言をまとめる試み
TwitterをAutoPagerize+LDRizeの組み合わせで閲覧し、気になった発言にPinを立てておき、それらのURL(というかStatusのID)の束をまとめ用のツール(例えばTwitRender)に飛ばしてやれば、id:hrkt0115311さんとかがよく作られているTwitterまとめが、もうちょっと作りやすくなるんじゃないか、と思って、いじっていたのだけれど……。
とりあえず先日のGreasemonkeyの更新
インストール(更新)→TwitStar
で、
こんなコマンドが追加される。
試しに、Twitterのタイムラインで適当にPinを立てたあと、[m]キーを押すと、TwitRenderに飛んで、まとめを自動生成してくれる。
大きな落とし穴
TwitterのAPI(http://twitter.com/status/show/id.json)アクセス制限がきつすぎ……すぐに
Rate limit exceeded. Clients may not make more than 150 requests per hour.
とか言ってステータスコード400で返されるので、使い物にならない(泣)。
なんかいい方法ないものかなぁ……やっぱ、HTML直接解析しかないの?→こっちで対応した。
いっそラウンドロビンに違うIP/アカウントからアクセスするようにでも作るか(笑)。
トラックバック - http://d.hatena.ne.jp/furyu-tei/20091011/1255215050
リンク元
- 34 http://www.google.co.jp/search?q=Rate+limit+exceeded.+Clients+may+not+make+more+than+150+requests+per+hour.&lr=lang_ja&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:ja:official&client=firefox-a
- 19 http://www.google.co.jp/search?q=Clients+may+not+make+more+than+150+requests+per+hour.&hl=ja&lr=lang_ja&tbs=lr:lang_1ja&start=0&sa=N
- 16 http://www.google.co.jp/search?sourceid=chrome&ie=UTF-8&q=Rate+limit+exceeded.+Clients+may+not+make+more+than+150+requests+per+hour.
- 10 http://www.google.co.jp/url?sa=t&rct=j&q=clients may not make more than 150 requests&source=web&cd=2&ved=0CCsQFjAB&url=http://d.hatena.ne.jp/furyu-tei/20091011/1255215050&ei=yZSkTsHQH43RmAWHiKyjCQ&usg=AFQjCNG0EZfSPsJ532mMCvkb0neI
- 8 http://www.google.co.jp/url?sa=t&rct=j&q=rate limit exceeded. clients may not make more than 150 requests per hour.&source=web&cd=5&ved=0CEcQFjAE&url=http://d.hatena.ne.jp/furyu-tei/20091011/1255215050&ctbs=lr:lang_1j
- 6 http://search.yahoo.co.jp/search?p=Twitter+Status:+Rate+Limit+exceeded&search.x=1&fr=top_ga1&tid=top_ga1&ei=UTF-8
- 5 http://search.yahoo.co.jp/search?p=Twitter+Status:+Twitter+API+rate+limit+exceeded&ei=UTF-8&fr=tbtopie&x=wrt
- 4 http://www.google.co.jp/search?hl=ja&lr=lang_ja&client=firefox-a&hs=N3r&rls=org.mozilla:ja:official&q=Clients+may+not+make+more+than+150&start=10&sa=N
- 4 http://www.google.co.jp/search?q="Rate+limit+exceeded.+Clients+may+not+make+more+than+150+requests+per+hour."&lr=lang_ja&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:ja-JP-mac:official&client=firefox-a
- 3 http://search.yahoo.co.jp/search?p=Twitter pin&sp=1&ei=UTF-8&fr=slv1-tbtop&SpellState=n-407433424_q-A8eEW62aBnRBmpP1Go/Q3gAAAA@@

