If you get this error message after updating your Facebook library files:
Fatal error: Call to undefined method FacebookRestClient::users_isAppAdded()
Try changing this code:
<?php /* ... */ try { if (!$facebook->api_client->users_isAppAdded()) { $facebook->redirect($facebook->get_add_url()); } } catch (Exception $ex) { //this will clear cookies for your application and redirect them to a login prompt $facebook->set_user(null, null); $facebook->redirect($appcallbackurl); } /* ... */ ?>
With this:
<?php /* ... */ try { if (!$facebook->api_client->users_isAppUser()) { $facebook->redirect($facebook->get_add_url()); } } catch (Exception $ex) { //this will clear cookies for your application and redirect them to a login prompt $facebook->set_user(null, null); $facebook->redirect($appcallbackurl); } /* ... */ ?>
Use this at your own risk, it seems to fix the problem and I’m hoping it won’t introduce bugs in other places…

I'm a programmer at 
Works like a charm!!
Comment
if you were around, i wud like to kiss you….coz it works for me after hours of digging…
Comment