summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-07-30 19:34:32 +0000
committerZach Copley <zach@controlyourself.ca>2009-08-08 00:57:00 +0000
commitdcfb91ea8ba784ff3f57e73504003a0c2915f1d1 (patch)
tree1672fc7c465829a77eb4644dbbc6cddd7298d0a3
parentb842b34a578882314d4dd6b5b0c69e15de276700 (diff)
Attempt to reduce the number of calls to FB to speed things up
-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,