I'm trying to make the example run, but I get the error "Incorrect signature". Please help.
fernando@fernando-ubuntu:~/tmp/facebooker$ cat examples/desktop_login.rb
$: << File.join(File.dirname(__FILE__), "..", 'lib')
require 'facebooker'
session = Facebooker::Session::Desktop.create("11*******************",
"36***************************")
puts session.login_url
gets
session.user.friends!.each do |user|
puts "#{user.id}:#{user.name}"
end
# This time all the data is there because friends! has already retrieved it.
session.user.friends.each do |user|
puts "#{user.id}:#{user.name}"
endfernando@fernando-ubuntu:~/tmp/facebooker$ ruby examples/desktop_login.rb
http://www.facebook.com/login.php?api_key=11228134e3614970081f702c90299db3&v=1.0&auth_token=2877160d8300e8c4af34
498720f32d80
**********
Reply in browser: You may now close this window and return to the application.
I press Enter.
**********
./examples/../lib/facebooker/parser.rb:322:in `process': Incorrect signature (Facebooker::Session::IncorrectSignature)
from ./examples/../lib/facebooker/parser.rb:15:in `parse'
from ./examples/../lib/facebooker/service.rb:13:in `post'
from ./examples/../lib/facebooker/session.rb:326:in `post'
from ./examples/../lib/facebooker/session.rb:312:in `post'
from ./examples/../lib/facebooker/user.rb:52:in `friends'
from ./examples/../lib/facebooker/user.rb:62:in `friends!'
from examples/desktop_login.rb:7
|