summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-01-04 20:04:07 -0500
committerZach Copley <zach@controlyourself.ca>2009-01-04 20:04:07 -0500
commitfd6f9b9d7622f280f92810770deb217eb7301c14 (patch)
tree63cdbd1aeff69b33a9740360d97cdc4ffda404dd /actions
parentd57c06b4171fbed9f059c53d66f6b313d9303d6d (diff)
trac750 Automatically update linked Facebook users' statuses
darcs-hash:20090105010407-7b5ce-559da13720b18e3c570e730326f5e5ef2b2dc1ab.gz
Diffstat (limited to 'actions')
-rw-r--r--actions/facebookhome.php2
-rw-r--r--actions/facebookinvite.php2
-rw-r--r--actions/facebooksettings.php4
3 files changed, 5 insertions, 3 deletions
diff --git a/actions/facebookhome.php b/actions/facebookhome.php
index dcdb102e6..a23d1aa07 100644
--- a/actions/facebookhome.php
+++ b/actions/facebookhome.php
@@ -36,7 +36,7 @@ class FacebookhomeAction extends FacebookAction
$user = null;
- $facebook = $this->get_facebook();
+ $facebook = get_facebook();
$fbuid = $facebook->require_login();
# check to see whether there's already a Facebook link for this user
diff --git a/actions/facebookinvite.php b/actions/facebookinvite.php
index 48a820e44..00efa654b 100644
--- a/actions/facebookinvite.php
+++ b/actions/facebookinvite.php
@@ -34,7 +34,7 @@ class FacebookinviteAction extends FacebookAction
function display()
{
- $facebook = $this->get_facebook();
+ $facebook = get_facebook();
$fbuid = $facebook->require_login();
diff --git a/actions/facebooksettings.php b/actions/facebooksettings.php
index 38542d4b6..17812850c 100644
--- a/actions/facebooksettings.php
+++ b/actions/facebooksettings.php
@@ -34,7 +34,7 @@ class FacebooksettingsAction extends FacebookAction
function display()
{
- $facebook = $this->get_facebook();
+ $facebook = get_facebook();
$fbuid = $facebook->require_login();
@@ -44,6 +44,8 @@ class FacebooksettingsAction extends FacebookAction
.'</fb:if-section-not-added>';
+ $fbml .= '<fb:prompt-permission perms="status_update"><h2>Allow Identi.ca to update my Facebook status</h2></fb:prompt-permission>';
+
$this->show_header('Settings');
echo $fbml;