Matarese Philip
2008-Jan-26 22:22 UTC
[Facebooker-talk] Facebooker::Session::IncorrectSignature
I think I must be missing something obvious on this one, but I can''t get past the initial "ensure_application_is_installed_by_facebook_user" in a rails app that I''m trying to put together. I''m running on edge rails with the latest Facebooker as a plugin. I''ve tried adding my settings to the environment configs and recently I tried the new yaml format. The non-facebook parts of the application work fine on their own when ensure_application... is commented out. This is my first attempt at a Facebook app, so I might be messing something up on that side of things as well. I followed the steps in http://rfacebook.wordpress.com/2008/01/05/desktop/, but perhaps there is something different for a web-based set up. All I get when I attempt to load a page that uses ensure_application_is_installed_by_facebook_user is this: vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:92:in `verify_signature'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:77:in `verified_facebook_params'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:24:in `facebook_params'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in `secure_with_facebook_params!'' vendor/rails/activesupport/lib/active_support/inflector.rb:260:in `all?'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in `each'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in `all?'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in `secure_with_facebook_params!'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:15:in `set_facebook_session'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:130:in `ensure_authenticated_to_facebook'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:135:in `ensure_application_is_installed_by_facebook_user'' As far as troubleshooting goes, I started digging into the code, but quickly realized that without understanding how the Facebook sessions are expected to function, I couldn''t figure out what was being missed. I''d love to start playing around with some of this stuff, so any help would be appreciated. Thanks, -Phil ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/facebooker-talk/attachments/20080126/768fd539/attachment-0001.html
Joel Nylund
2008-Jan-26 22:39 UTC
[Facebooker-talk] Facebooker::Session::IncorrectSignature
Hi, are you going through facebook to get there, I usually get this if I point directly to my rails app, you need to create the face book app on facebook and go to http://apps.facebook.com/yourapp to get to your app with the right stuff to make ensure_application_is_installed_by_facebook_user happy. Joel On Jan 26, 2008, at 5:22 PM, Matarese Philip wrote:> I think I must be missing something obvious on this one, but I can''t > get past the initial > "ensure_application_is_installed_by_facebook_user" in a rails app > that I''m trying to put together. I''m running on edge rails with the > latest Facebooker as a plugin. I''ve tried adding my settings to the > environment configs and recently I tried the new yaml format. The > non-facebook parts of the application work fine on their own when > ensure_application... is commented out. > > This is my first attempt at a Facebook app, so I might be messing > something up on that side of things as well. I followed the steps inhttp://rfacebook.wordpress.com/2008/01/05/desktop/ > , but perhaps there is something different for a web-based set up. > > All I get when I attempt to load a page that uses > ensure_application_is_installed_by_facebook_user is this: > > vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:92:in > `verify_signature'' > vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:77:in > `verified_facebook_params'' > vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:24:in > `facebook_params'' > vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in > `secure_with_facebook_params!'' > vendor/rails/activesupport/lib/active_support/inflector.rb:260:in > `all?'' > vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in > `each'' > vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in > `all?'' > vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in > `secure_with_facebook_params!'' > vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:15:in > `set_facebook_session'' > vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:130:in > `ensure_authenticated_to_facebook'' > vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:135:in > `ensure_application_is_installed_by_facebook_user'' > > As far as troubleshooting goes, I started digging into the code, but > quickly realized that without understanding how the Facebook > sessions are expected to function, I couldn''t figure out what was > being missed. > > I''d love to start playing around with some of this stuff, so any > help would be appreciated. > > Thanks, > -Phil > > Never miss a thing. Make Yahoo your homepage. > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/facebooker-talk/attachments/20080126/14452e7b/attachment.html
Matarese Philip
2008-Jan-26 23:06 UTC
[Facebooker-talk] Facebooker::Session::IncorrectSignature
Ah ha! Thanks Joel, things make a lot more sense now. ----- Original Message ---- From: Joel Nylund <jnylund at yahoo.com> To: Matarese Philip <philipmatarese at yahoo.com> Cc: facebooker-talk at rubyforge.org Sent: Saturday, January 26, 2008 5:39:40 PM Subject: Re: [Facebooker-talk] Facebooker::Session::IncorrectSignature Hi, are you going through facebook to get there, I usually get this if I point directly to my rails app, you need to create the face book app on facebook and go to http://apps.facebook.com/yourapp to get to your app with the right stuff to make ensure_application_is_installed_by_facebook_user happy. Joel On Jan 26, 2008, at 5:22 PM, Matarese Philip wrote: I think I must be missing something obvious on this one, but I can''t get past the initial "ensure_application_is_installed_by_facebook_user" in a rails app that I''m trying to put together. I''m running on edge rails with the latest Facebooker as a plugin. I''ve tried adding my settings to the environment configs and recently I tried the new yaml format. The non-facebook parts of the application work fine on their own when ensure_application... is commented out. This is my first attempt at a Facebook app, so I might be messing something up on that side of things as well. I followed the steps inhttp://rfacebook.wordpress.com/2008/01/05/desktop/, but perhaps there is something different for a web-based set up. All I get when I attempt to load a page that uses ensure_application_is_installed_by_facebook_user is this: vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:92:in `verify_signature'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:77:in `verified_facebook_params'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:24:in `facebook_params'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in `secure_with_facebook_params!'' vendor/rails/activesupport/lib/active_support/inflector.rb:260:in `all?'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in `each'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in `all?'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in `secure_with_facebook_params!'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:15:in `set_facebook_session'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:130:in `ensure_authenticated_to_facebook'' vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:135:in `ensure_application_is_installed_by_facebook_user'' As far as troubleshooting goes, I started digging into the code, but quickly realized that without understanding how the Facebook sessions are expected to function, I couldn''t figure out what was being missed. I''d love to start playing around with some of this stuff, so any help would be appreciated. Thanks, -Phil Never miss a thing. Make Yahoo your homepage. _______________________________________________ Facebooker-talk mailing list Facebooker-talk at rubyforge.org http://rubyforge.org/mailman/listinfo/facebooker-talk ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/facebooker-talk/attachments/20080126/de19ca90/attachment.html
Joel Nylund
2008-Jan-26 23:30 UTC
[Facebooker-talk] Facebooker::Session::IncorrectSignature
your welcome, facebook dev is a big learning curve im still coming up as well, I put a picture of what seems the std arch on my blog a couple days ago,I think its pretty close to correct, it may help understand how it works. http://jnylund.typepad.com/joels_blog/2008/01/facebook-plugin.html Joel On Jan 26, 2008, at 6:06 PM, Matarese Philip wrote:> Ah ha! Thanks Joel, things make a lot more sense now. > > ----- Original Message ---- > From: Joel Nylund <jnylund at yahoo.com> > To: Matarese Philip <philipmatarese at yahoo.com> > Cc: facebooker-talk at rubyforge.org > Sent: Saturday, January 26, 2008 5:39:40 PM > Subject: Re: [Facebooker-talk] Facebooker::Session::IncorrectSignature > > Hi, > > are you going through facebook to get there, I usually get this if > I point directly to my rails app, you need to create the face book > app on facebook and go to http://apps.facebook.com/yourapp to get to > your app with the right stuff to make > ensure_application_is_installed_by_facebook_user happy. > > Joel > > On Jan 26, 2008, at 5:22 PM, Matarese Philip wrote: > >> I think I must be missing something obvious on this one, but I >> can''t get past the initial >> "ensure_application_is_installed_by_facebook_user" in a rails app >> that I''m trying to put together. I''m running on edge rails with >> the latest Facebooker as a plugin. I''ve tried adding my settings >> to the environment configs and recently I tried the new yaml >> format. The non-facebook parts of the application work fine on >> their own when ensure_application... is commented out. >> >> This is my first attempt at a Facebook app, so I might be messing >> something up on that side of things as well. I followed the steps >> inhttp://rfacebook.wordpress.com/2008/01/05/desktop/, but perhaps >> there is something different for a web-based set up. >> >> All I get when I attempt to load a page that uses >> ensure_application_is_installed_by_facebook_user is this: >> >> vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:92:in >> `verify_signature'' >> vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:77:in >> `verified_facebook_params'' >> vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:24:in >> `facebook_params'' >> vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in >> `secure_with_facebook_params!'' >> vendor/rails/activesupport/lib/active_support/inflector.rb:260:in >> `all?'' >> vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in >> `each'' >> vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in >> `all?'' >> vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:43:in >> `secure_with_facebook_params!'' >> vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:15:in >> `set_facebook_session'' >> vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:130:in >> `ensure_authenticated_to_facebook'' >> vendor/plugins/facebooker/lib/facebooker/rails/controller.rb:135:in >> `ensure_application_is_installed_by_facebook_user'' >> >> As far as troubleshooting goes, I started digging into the code, >> but quickly realized that without understanding how the Facebook >> sessions are expected to function, I couldn''t figure out what was >> being missed. >> >> I''d love to start playing around with some of this stuff, so any >> help would be appreciated. >> >> Thanks, >> -Phil >> >> Never miss a thing. Make Yahoo your homepage. >> _______________________________________________ >> Facebooker-talk mailing list >> Facebooker-talk at rubyforge.org >> http://rubyforge.org/mailman/listinfo/facebooker-talk > > > > Never miss a thing. Make Yahoo your homepage.-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/facebooker-talk/attachments/20080126/f19d96f6/attachment-0001.html