Support Requests: Browse | Submit New | Admin

[#17407] Getting started: Incorrect signature

Date:
2008-01-23 00:22
Priority:
3
Submitted By:
Fernando Correia (fernandocorreia)
Assigned To:
Nobody (None)
Category:
Install Problem (example)
State:
Open
Summary:
Getting started: Incorrect signature

Detailed description
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

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-06-30 15:54
Sender: Brian Lee

I'm having the same the issue, with really bare minimum code
(near empty controller with empty views) on Rails 2.1 using
ensure_application_is_installed_by_facebook_user.

For some reason the expected sig is ''... is this a bug?

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item