I am trying to run the Heroku's basic tutorial facebook application (http://devcenter.heroku.com/articles/facebook). Following the instructions, deploying on Heroku went fine. Trying to deploy locally I got the following error
Parse error: syntax error, unexpected ':' in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\AppInfo.php on line 36".
I understood there's some problem with the getHome function, found an answer to a similar problem with python here - Problem running Heroku's Facebook app tutorial with Python, but still I am unable to figure it out how it should be done for PHP.
I tried to changed the getHome function to just return http://127.0.0.1:5000/
(like the Site URL I set on my facebook app) but then I get that the browser cannot connect to it.
I have Safari 2.2 running locally, basic Hello world PHP file is running ok.
Thanks in advance.