Facebook problem

07-May-2015 17:10:14

I installed socialauth and managed to make it work on beerlist.it.

Today I want to install it on another site / hosting mlsapp.it (http://www.mlsapp.it/social/station.php)e connection to Fb does not work: I get an error at line

// These use

use Facebook \ FacebookSession;

of facebook.php

ERROR:

Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /htdocs/public/www/social/auth/platforms/facebook-app/facebook.php on line 13

What can I do?

I have to change any parameter of the php ini?

08-May-2015 04:15:58

Hi,

I think the error "unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING" is related to PHP version. I see many people have the same error when using old versions of PHP.

You can try to check your PHP version and make sure you are using 5.4 or greater one.

Regards.

08-May-2015 11:23:38

Yessssssssssss.........you were right!!! Grazie.

Ivan