title: Replying to tweets on your timeline with twitter gem
body: <p>I am trying to create a simple reply from my twitter timeline but ran into some problems and as a ruby newbie I had problems in understanding the doc.</p>
  
  <pre><code>Twitter.mentions_timeline.each do |tweet|
      reply_to = tweet.from_user_name()
      #Twitter.update("@#{reply_to} Not today.")
  end
  </code></pre>
  
  <p>This is what've written so far, which is not much. Unfortunately the tweet doesn't have any from_user_name when using the mentions_timeline it seems. I am using this gem and does not find any good examples of this: <a href="https://github.com/sferik/twitter">https://github.com/sferik/twitter</a></p>
  
  <p>Would be very nice to have some nice example of how to grab ones tweets from the timeline and replying to those. Also does twitter have anything that distinguish "new tweets" or do I need to create some kind of storage myself to seperate new from old?</p>
  
  <p>Thanks in advance :)</p>
  
  <p>EDIT: to clarify, I want to get all tweets sent to me directly and reply to them. I don't really want to continue in any conversation.</p>