[Facebooker-talk] Facebooker scaffolding errors

Stéphane Akkaoui stephane.akkaoui at imeuble.info
Sun Nov 2 03:11:56 EST 2008


Le 2 nov. 08 à 03:29, Kate Dohe a écrit :
> Once we turned on the server and visited http://apps.facebook.com/stem_survey 
>  two errors surfaced in facebook:
> " urlexception unable to parse URL /http://apps.facebooker.com/stem_survey//survey_responses/new 
> "

Did you correctly fill the Facebooker config file ?
The canvas_page_name has to be the name of the application registered  
in facebook, without any trailing shlash. For you I guess it should be  
'stem_survey'.

>        format.fbml { redirect_to('http://apps.facebook.com/stem_survey/survey_responses/'+@survey_response.id.to_s) 
>  }

If the canvas_page_name field is correctly set, you should be able to  
do : redirect_to(@survey_response, :canvas => true)

HTH,

-- 
Stéphane Akkaoui


More information about the Facebooker-talk mailing list