summaryrefslogtreecommitdiff
path: root/actions/facebookhome.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/facebookhome.php
parent5015505f16c9ce412e6f5535f80188f33d24c4ea (diff)
parentc32e494c0c480e30317b0f0a8dcae7103c4ff89e (diff)
Merge branch '0.9.x' into private-rss
Diffstat (limited to 'actions/facebookhome.php')
-rw-r--r--actions/facebookhome.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/facebookhome.php b/actions/facebookhome.php
index 34989c978..6d8d0745d 100644
--- a/actions/facebookhome.php
+++ b/actions/facebookhome.php
@@ -57,7 +57,7 @@ class FacebookhomeAction extends FacebookAction
// If this is the first time the user has started the app
// prompt for Facebook status update permission
- if (!$this->facebook->api_client->users_hasAppPermission('status_update')) {
+ if (!$this->facebook->api_client->users_hasAppPermission('publish_stream')) {
if ($this->facebook->api_client->data_getUserPreference(
FACEBOOK_PROMPTED_UPDATE_PREF) != 'true') {
@@ -203,7 +203,7 @@ class FacebookhomeAction extends FacebookAction
$api_key = common_config('facebook', 'apikey');
$auth_url = 'http://www.facebook.com/authorize.php?api_key=' .
- $api_key . '&v=1.0&ext_perm=status_update&next=' . $next .
+ $api_key . '&v=1.0&ext_perm=publish_stream&next=' . $next .
'&next_cancel=' . $next . '&submit=skip';
$this->elementStart('span', array('class' => 'facebook-button'));