diff options
author | Zach Copley <zach@controlyourself.ca> | 2009-07-30 19:34:32 +0000 |
---|---|---|
committer | Zach Copley <zach@controlyourself.ca> | 2009-07-30 19:34:32 +0000 |
commit | cd9748ad563ac8a0cf6f00f9aa3cf825647d394f (patch) | |
tree | fe413bc9eecdab79d73c40723ebba857c479bf0d /plugins | |
parent | 605742f039752b90092594e0924c59121befc99c (diff) |
Attempt to reduce the number of calls to FB to speed things up
Diffstat (limited to 'plugins')
-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, |