松尾です。

> この際なので以下のように変更したいと思います。
> 
> ・twittering-timeline-dataのソートもIDベースのものに変更
> ・RTについてはRT時のIDを持たせる
>   (RT元のIDをsource-idとして持たせる)
> ・新規RT取得時に、同じsource-idを持つtweetが既に
>   取得済み(twittering-timeline-dataに存在する)場合には
>   追加しない。

上記の変更を commit しました。
これで公式RTが重複して表示されることはなくなると
思います。

今の実装は重複確認のための hash を毎回生成していますが
twittering-timeline-data と同じくグローバルで管理した
方が良いかもしれません。

---
松尾 直志 <t...@mymail.twin.jp>

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
twmode-users mailing list
twmode-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/twmode-users

メールによる返信