-
Notifications
You must be signed in to change notification settings - Fork 0
Ruby based version of the Twitter Badge
kientran/RubyTwitterBadge
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Author:: Kien Tran(mailto:[email protected]) Copyright:: Copyright (c) 2009 License:: MIT Date:: June 12, 2009 Ruby version of the Twitter Badge php script. This script supports caching of twitter updates to prevent API flooding. Note, that unlike the PHP version, I have not gotten around to making the date display pretty. As time permits, or if I find a good script written by someone else, I'll implement. Required external gems curb (cURL for Ruby) gem instal curb yajl (YAJL C Bindings for Ruby) See http://github.com/brianmario/yajl-ruby/tree/master To implement this on your page, simply use the following code. require 'TwitterBadge.rb' puts twitterBadge('username', 'password') This can go inside any Ruby templating you might be using. Future implementation will include oAUTH as well as database storage of tweets.
About
Ruby based version of the Twitter Badge
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published