diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-08-03 22:47:57 +0000 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-08-03 22:47:57 +0000 |
commit | dccd4aa68d7ae449434c63380f21d8070913778f (patch) | |
tree | 1a25d40f20326047eb0776f910e155362e8e33cb /plugins/FBConnect/FBConnectPlugin.php | |
parent | 981fa1b33a8073bd0d53d8bee7dfccd171685e61 (diff) | |
parent | ff6e976d0315c57fc5b7e31845e9a3bad4f095bc (diff) |
Merge branch '0.8.x' into twitter-oauth
Diffstat (limited to 'plugins/FBConnect/FBConnectPlugin.php')
-rw-r--r-- | plugins/FBConnect/FBConnectPlugin.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/FBConnect/FBConnectPlugin.php b/plugins/FBConnect/FBConnectPlugin.php index 2e32ad198..6788793b2 100644 --- a/plugins/FBConnect/FBConnectPlugin.php +++ b/plugins/FBConnect/FBConnectPlugin.php @@ -122,9 +122,7 @@ class FBConnectPlugin extends Plugin FB_RequireFeatures( ["XFBML"], function() { - FB.init("%s", "../xd_receiver.html", - {"doNotUseCachedConnectState":true }); - + FB.init("%s", "../xd_receiver.html"); } ); } @@ -222,7 +220,7 @@ class FBConnectPlugin extends Plugin try { $facebook = getFacebook(); - $fbuid = $facebook->api_client->users_getLoggedInUser(); + $fbuid = $facebook->get_loggedin_user(); } catch (Exception $e) { common_log(LOG_WARNING, |