Facebook Sdk Changes(2.x.x -> 3.0.x)

earlier facebook login connect was working fine on my php website but when facebook updated its sdk,its not working…

it simply opens facebook.

so what changes has to be done to make it work?

Have you updated PHP SDK itself?

[color="#006400"]NOTE: moved to proper section (Extensions instead of Yii-powered applications)[/color]

yes. i updated php sdk.

updated sdk no longer uses getSession() method.Instead it uses getUser().

I am having pproblem there.

facebook->getUser() always returns value 0