summaryrefslogtreecommitdiff
path: root/actions/facebooksettings.php
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2009-07-17 16:54:46 +0800
committerJeffery To <jeffery.to@gmail.com>2009-07-17 16:54:46 +0800
commit1aea5989776e75f3b7af236049d511a28c3f1ff7 (patch)
treefbf355767238df2dbdebf086fa2c9e5f51f7dbed /actions/facebooksettings.php
parent5015505f16c9ce412e6f5535f80188f33d24c4ea (diff)
parentc32e494c0c480e30317b0f0a8dcae7103c4ff89e (diff)
Merge branch '0.9.x' into private-rss
Diffstat (limited to 'actions/facebooksettings.php')
-rw-r--r--actions/facebooksettings.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/facebooksettings.php b/actions/facebooksettings.php
index ee2c279ab..c3b364743 100644
--- a/actions/facebooksettings.php
+++ b/actions/facebooksettings.php
@@ -78,7 +78,7 @@ class FacebooksettingsAction extends FacebookAction
}
}
- if ($this->facebook->api_client->users_hasAppPermission('status_update')) {
+ if ($this->facebook->api_client->users_hasAppPermission('publish_stream')) {
$this->elementStart('form', array('method' => 'post',
'id' => 'facebook_settings'));
@@ -131,7 +131,7 @@ class FacebooksettingsAction extends FacebookAction
$this->elementStart('ul', array('id' => 'fb-permissions-list'));
$this->elementStart('li', array('id' => 'fb-permissions-item'));
- $this->elementStart('fb:prompt-permission', array('perms' => 'status_update',
+ $this->elementStart('fb:prompt-permission', array('perms' => 'publish_stream',
'next_fbjs' => 'document.setLocation(\'' . "$this->app_uri/settings.php" . '\')'));
$this->element('span', array('class' => 'facebook-button'),
sprintf(_('Allow %s to update my Facebook status'), common_config('site', 'name')));