Attempt to reduce the number of calls to FB to speed things up

This commit is contained in:
Zach Copley 2009-07-30 19:34:32 +00:00
parent 605742f039
commit cd9748ad56
1 changed files with 2 additions and 4 deletions

View File

@ -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,