summaryrefslogtreecommitdiff
path: root/actions/facebooksettings.php
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/facebooksettings.php
parentd57c06b4171fbed9f059c53d66f6b313d9303d6d (diff)
trac750 Automatically update linked Facebook users' statuses
darcs-hash:20090105010407-7b5ce-559da13720b18e3c570e730326f5e5ef2b2dc1ab.gz
Diffstat (limited to 'actions/facebooksettings.php')
-rw-r--r--actions/facebooksettings.php4
1 files changed, 3 insertions, 1 deletions
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;