I am trying to get the tweets using twitterstream gem.
list_of_users = [612473, 759251, 1367531, 6017542, 6509832]
TweetStream::Client.new.follow(list_of_users) do |status|
puts "follow [#{status.user.id}]\t[#{status.user.screen_name}]\t#{status.text}"
end
Now I am able to fetch the tweets from those users in list. But if I add another user to my database How can I ask TwitterStream to follow that new user?
I need my program to check my database for new user in a particular interval and if my DB contains new user then it should start fetching the tweets from that new user.
Thank you