Created
July 27, 2012 22:12
-
-
Save codeincontext/3190716 to your computer and use it in GitHub Desktop.
how much have you spammed your friends today?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rubygems' | |
| require 'twitter' | |
| require 'active_support/core_ext' | |
| timeline = Twitter.user_timeline("skattyadz", count: 200, include_rts: true) | |
| puts timeline.select{|t| t.created_at > 1.day.ago}.count |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment