summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-07-30 19:34:32 +0000
committerZach Copley <zach@controlyourself.ca>2009-07-30 19:34:32 +0000
commitcd9748ad563ac8a0cf6f00f9aa3cf825647d394f (patch)
treefe413bc9eecdab79d73c40723ebba857c479bf0d /plugins
parent605742f039752b90092594e0924c59121befc99c (diff)
Attempt to reduce the number of calls to FB to speed things up
Diffstat (limited to 'plugins')
-rw-r--r--plugins/FBConnect/FBConnectPlugin.php6
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,