Generic-user-small ramkaka 31 posts

Hi,

I switched from ensure_application_is_installed_by_facebook_user to ensure_authenticated_to_facebook. I have a strange problem now.

If the user is already logged in to Facebook my index page renders correctly.
But, if he goes to my app without being logged in to Facebook, then he is redirected to Facebook to login. After logging in to Facebook, he gets redirected to my website which throws the following error.


Template is missing
Missing template friend/index.html.erb in view path /Users/...

One thing to note is that my view is defined as friend/index.fbml.erb and the above points to friend/index.html.erb.

Anyone seen this before?

Thanks.

 
Head_small Mike Mangino 140 posts

It sounds like the next path on login is wrong. I haven’t seend this before.

 
Generic-user-small ramkaka 31 posts

Got it. That was it. Thanks.

 
Generic-user-small Allen Walker 19 posts

What do you mean “next path”. I have the same problem and need to fix it. thanks

 
Head_small Mike Mangino 140 posts

What is your post authorize URL in your configuration? It should be a canvas path (i.e. apps.facebook.com…)

5 posts, 3 voices