summaryrefslogtreecommitdiff
path: root/actions/facebooksettings.php
diff options
context:
space:
mode:
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;