As you pointed out in your mail, I did have the wrong callback url in the config file. I think that was from some of my experimenting. It was set to the tunnlr address originally. When I set it correctly again, it doesn’t generate the new-session-redirect every time, but the content is still empty.
To make sure the FB and tunnlr configuration were correct, I switched back to the network_test app and confirmed that everything there worked correctly. (It did). I edited the facebooker.yml in my karate_poke app to exactly match the one in network_test, but the behavior remained the same.
I tried switching Render Method to “iframe” and just putting plain text in new.erb, and it shows up fine. When I switch it back to fbml, it returns to the “returned HTTP code 200 and no data” error, even with the plain text in new.erb.
I replicated the index.html.erb/index.fbml.erb from network_test in my 2.3.5 app to see if maybe it was the fbml that was having issues. Hitting http://localhost:3000 routes me to http://web1.tunnlr.com:10803//?auth_token=hash_code_here and rails throws ActionController:RoutingError ('No route matches "//" with {:method=>:get, :canvas=>false}})
. When I hit it through FB, it appears to complete successfully in rails, but shows the “no data” error in FB. This stays the same whether I have a trailing slash on callback_url in config/facebooker.yml or not.
If I manually remove the extra slash from the url left after the locahost:3000 redirect, it displays the plain text correctly.
Where else could that extra slash be coming from?
You got the code I sent working under 2.3.5 by just changing the facebooker.yml to your app/network settings?