y-ken / fluent-plugin-twitter

Fluentd Input/Output plugin to process tweets with Twitter Streaming API.
https://rubygems.org/gems/fluent-plugin-twitter
Other
53 stars 27 forks source link

Support follow_ids #10

Closed kawasako closed 9 years ago

kawasako commented 9 years ago

@y-ken さま

先ほどはありがとうございました。follow_idsに対応してみたのでレビューいただけると嬉しいです。 投げるのはstatuses/filterに違いないのでtimelime: followとせずsamplingとしてまとめてしまいました。

Twitter公式では"The track, follow, and locations fields should be considered to be combined with an OR operator. track=foo&follow=1234 returns Tweets matching “foo” OR created by user 1234."と書いていたのですが、tweetstreamの方のドキュメントでは"You can also use it to track keywords or follow a given set of user ids:"とどっちか選ぶようになっていてtrackとfollowを同時に投げる方法がパッと見見当たらなかった為どちらかしか投げないようになっています。

拙い実装で恐縮ですがご確認の程よろしくお願いいたします。

y-ken commented 9 years ago

Cool.

y-ken commented 9 years ago

Hi, @kawasako

Thank you. It was merged into master branch. I'm planning to improve configuration design better.

if you like this repository, please click start button for this. https://github.com/y-ken/fluent-plugin-twitter/stargazers

y-ken commented 9 years ago

released v0.4.0 https://rubygems.org/gems/fluent-plugin-twitter/versions/0.4.0

kawasako commented 9 years ago

Dear @y-ken

Thank you very much for merging this commit. I clicked star button !

Thanks,

kawasako commented 9 years ago

P.S. Thank you for the improvement of code.

y-ken commented 9 years ago

:smile: