BJ Clark
2008-Jun-23 17:34 UTC
[Facebooker-talk] :canvas => false and redirecting back to facebook
Hello List, Surely someone has done this before. I''m trying to use Attachment_fu for file uploads from facebook. I''ve figured out that you have to set :canvas => false to send the form back to your server directly, but I can''t seem to redirect the user back to facebook after that. I''m using AR Store for cookies and I''m doing a redirect_to foo_bar_url(@foo) for the redirect. I always get an IncorrectSignature error. Anyone found a way around this? Maybe I should just do this all over ajax, then I don''t need to worry about the redirect? Any thoughts/help is greatly appreciated! Thanks, BJ Clark
Mike Mangino
2008-Jun-23 17:41 UTC
[Facebooker-talk] :canvas => false and redirecting back to facebook
I think you need to add :canvas=>true on your redirect. Mike On Jun 23, 2008, at 1:34 PM, BJ Clark wrote:> Hello List, > Surely someone has done this before. > I''m trying to use Attachment_fu for file uploads from facebook. > I''ve figured out that you have to set :canvas => false to send the > form back to your server directly, but I can''t seem to redirect the > user back to facebook after that. > > I''m using AR Store for cookies and I''m doing a redirect_to > foo_bar_url(@foo) for the redirect. > > I always get an IncorrectSignature error. > > Anyone found a way around this? > Maybe I should just do this all over ajax, then I don''t need to > worry about the redirect? > > > Any thoughts/help is greatly appreciated! > > Thanks, > BJ Clark > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk-- Mike Mangino http://www.elevatedrails.com