Lately Facebook forced all developers to use oauth 2.0 by setting by default oauth:true in FB.init();
The most important changes are:
- Cookie name is now 'fbsr_'. not 'fbs_'
- Cookie has more changes than you think ;o)
- perms are now scope - so now instead of writing in e.g. login button perms="email,publish_stream" you write scope="email,publish_stream"
- to get access_token we need to have `magic code` first
- if you're using some client-side scripting too, then instead of FB.getSession use FB.getAuthResponse - (thanks ajquick)
...
Things you need to change are probably similar for other frameworks if you don't use SDK. I tested this solution for CodeIgniter 2.x. But it should work for earlier ver too.