Hi Nasir, Can you show us your facebooker.yml file? It''s very important to: callback_url: http://www.mysite.com canvas_page: myapp Note the lack of a leading or trailing ''/'' -- Matthew Beale :: 607 227 0871 Resume & Portfolio @ http://madhatted.com On Wed, 2009-08-05 at 17:07 -0400, Nasir Khan wrote:> After using new_attack_path(:canvas => false) in the fb_req_choice, I > dont see the additional "my_canvas" in the request but I still see the > additional /. > So now the request that I see is > > http://apps.facebook.com/my_canvas//attack/new > > The // still lead to Bad URI in Rails. > > thx > > > On Wed, Aug 5, 2009 at 1:00 AM, Nasir Khan <rnakhan at gmail.com> wrote: > If I use new_resource helper accross controllers - as an > example in a multi friend request from my invitations > controller if I use new_attack_path in the fb_req_choice. like > - facebook rails book section 6.4. > > I get the canvas page appended twice to the call back URL. > > So by the above example when the invited user accepts the > invitation the URL that I get is > > http://apps.facebook.com/my_canvas//my_canvas/attack/new > > Note // between the two my_canvas. The correct URL should be > > http://apps.facebook.com/my_canvas/attac/new > > Looks like Facebooker is adding this. Any ideas? > > When I use the new_attack_path within the Attack controller or > views it works fine. > > Thanks > > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk