25 Nov 2008, 03:30
Biz_pragsmall

Stephane Arcos (17 posts)

Hello there,
I’m closed to release my first app, thanx to this amazing book, but I have an issue when a new user try to install it(‘allow’ in new Facebook terms).

My server (the production one) is hit two times :
1 – using this url : apps.new.facebook.com/app_name/


Processing PollsController#index 
  Parameters: {... "action"=>"index", "controller"=>"polls", "fb_sig_added"=>"0" ...}

2 – After clicking the “Allow”


Processing PollsController#index 
   Parameters: {"installed"=>"1", "action"=>"index", "auth_token"=>"ebe62ef2f6da55d7e3d2565f17676ca9", "controller"=>"polls"}
...
Rendering polls/index

ActionView::MissingTemplate (Missing template polls/index.html.erb in view path /home/soxosin/fb_polls/app/views):

It looked like the second request does not go thru Facebooker, I have tried to change the ‘Post-Add URL’ in the Facebook app settings (currently set to TIA
Stephane

28 Dec 2008, 18:57
Generic-user-small

Christopher Sepic (10 posts)

Looks like our problems are very similar:

http://forums.pragprog.com/forums/59/topics/1675

29 Dec 2008, 14:16
Head_pragsmall

Mike Mangino (543 posts)

Try the post authorize redirect URL. I think that is the one that works now.

Mike

  You must be logged in to comment