[Learning Note] Facebook => rfacebook => Facebooker

21 01 2008

It’s a matter of time. I knew this blog for a long time ago, now I just got time to read it, I was wondering how I could set up my facebook app using the new facebooker that’s been said more advanced and better than rfacebook (I’m lazy to copy paste its link, Google for that, I’m sure you can get it in less than second) as its blog writer also confessed that facebooker creator is involving Chad (a familiar ruby guy in both ruby and ruby on rails communities), so it’s better and he wants it to be much better than rfacebook and he emphasized that he doesn’t want to leave existing RFacebook developers hanging. So when I just read this post now I just got the answer, I just knew that I have to do

m:sources arie$ svn checkout http://facebooker.rubyforge.org/svn/trunk/facebooker

then build the gem then install it! Cos I once searched from

gem search facebooker -r

and it wasn’t there (yet). No worries, since building it as rubygem then install it, is easy. Just remember when your CEO said “Making a website is easy, the difficult one is to sell it! hehehe”. :-D Just smile, confess and remember when the time delicious was bought for USD 20 million, man!

Besides, if you geek still complain in your heart silently of what that CEO said, just remind also of cool programming languages out there, huh?! So we’re lucky as rubyists we’re having fun and laugh more often!

2206251241_2e547b5dbe.jpg

Now back to facebooker, as I also start reading rfacebook mailing list archives intensively, no worries for facebooker whether or not it’ll be around, rfacebook is still around, so … ok, let’s get back to MacAir!

m:facebooker arie$ ls -lh
total 120
-rw-r--r--  1 arie  staff     0B Jan 21 01:41 CHANGELOG.txt
-rw-r--r--  1 arie  staff   1.1K Jan 21 01:41 COPYING
-rw-r--r--  1 arie  staff     0B Jan 21 01:41 History.txt
-rw-r--r--  1 arie  staff   499B Jan 21 01:41 Manifest.txt
-rw-r--r--  1 arie  staff   1.8K Jan 21 01:41 README
-rw-r--r--  1 arie  staff   706B Jan 21 01:41 Rakefile
-rw-r--r--  1 arie  staff   302B Jan 21 01:41 TODO.txt
drwxr-xr-x  4 arie  staff   170B Jan 21 01:41 examples
-rw-r--r--  1 arie  staff   776B Jan 21 01:41 init.rb
drwxr-xr-x  5 arie  staff   204B Jan 21 01:40 lib
drwxr-xr-x  3 arie  staff   102B Jan 21 01:40 pkg
-rw-r--r--  1 arie  staff    35K Jan 21 01:41 setup.rb
drwxr-xr-x  3 arie  staff   374B Jan 21 01:40 test
drwxr-xr-x  4 arie  staff   136B Jan 21 01:41 vendor
m:facebooker arie$ less README
m:facebooker arie$ mkdir facebooker
m:facebooker arie$ cd facebooker/
m:facebooker arie$ vi facebooker.gemspec
m:facebooker arie$ cat facebooker.gemspec
require 'rubygems'

Gem::Specification.new do |spec|
  spec.name = 'facebooker'
  spec.version = '0.1'
  spec.summary = "Ruby wrapper for the Facebook REST API."
  spec.homepage = 'http://facebooker.rubyforge.org'
  spec.authors  = [ 'Chad Fowler', 'Patrick Ewing' ]
  spec.files = Dir.glob( 'lib/**/*' )
  spec.require_path = 'lib'
end
m:facebooker arie$ gem build facebooker.gemspec
WARNING:  no email specified
WARNING:  no rubyforge_project specified
WARNING:  RDoc will not be generated (has_rdoc == false)
  Successfully built RubyGem
  Name: facebooker
  Version: 0.1
  File: facebooker-0.1.gem
m:facebooker arie$ ls -lh
total 16
-rw-r--r--  1 arie  staff   3.0K Jan 21 02:10 facebooker-0.1.gem
-rw-r--r--  1 arie  staff   337B Jan 21 02:00 facebooker.gemspec
m:facebooker arie$ sudo gem install facebooker-0.1.gem
Password:
Successfully installed facebooker-0.1
1 gem installed
m:facebooker arie$ gem list facebooker

*** LOCAL GEMS ***

facebooker (0.1)
m:facebooker arie$

Now facebooker is sitting down there happily, ready to be played with me, okay, time to play around again… looking for user stories and rspec implementation over there (although I’d once been told that that’s its limitation regarding fbml things and so on), including uploading photos either to facebook server or to our servers… so that it’ll be fun using autotest as usual (not just cap deploy cap deploy and hit refresh on browser! view source! debug! code! cap deploy cap deploy!).

Just share our fun together as usual my friends! Alright, see ya around!

2207037558_9b93a0df56.jpg

update.
1. additional useful plugin link on agilewebdevelopment.com


Actions

Information

2 responses

21 01 2008
Kiss my shiny metal… » Blog Archive » [Learning Note] Facebook => rfacebook => Facebooker

[...] Read the rest of this great post here [...]

21 01 2008
Tukang Ketik

ck ck ck…

dasar hacker(booker)