summaryrefslogtreecommitdiff
path: root/plugins/FBConnect/FBConnectPlugin.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-08-03 22:47:57 +0000
committerZach Copley <zach@controlyourself.ca>2009-08-03 22:47:57 +0000
commitdccd4aa68d7ae449434c63380f21d8070913778f (patch)
tree1a25d40f20326047eb0776f910e155362e8e33cb /plugins/FBConnect/FBConnectPlugin.php
parent981fa1b33a8073bd0d53d8bee7dfccd171685e61 (diff)
parentff6e976d0315c57fc5b7e31845e9a3bad4f095bc (diff)
Merge branch '0.8.x' into twitter-oauth
Diffstat (limited to 'plugins/FBConnect/FBConnectPlugin.php')
-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,