This is a quick mod to the facebook php sdk's file base_facebook.php.  It automatically updates the facebook class instance with new access token on setExtendedAcessToken() call.