diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-07-09 18:42:19 -0400 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-07-09 18:42:19 -0400 |
commit | 8250006fbfdc120a4766f85ff5d6ee79798d626d (patch) | |
tree | d614367ed3adf1e66146ae4e7b9bd1ef7069837d /actions/facebooklogin.php | |
parent | 262c581ea771bc8d19bd7050c2f8a2624ea8a3e2 (diff) |
When a notice is posted with an attachment, the facebook stream update has media displayed inline, or as links.
http://laconi.ca/trac/ticket/1685
Diffstat (limited to 'actions/facebooklogin.php')
-rw-r--r-- | actions/facebooklogin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/facebooklogin.php b/actions/facebooklogin.php index 22007da4f..aa86cfbc0 100644 --- a/actions/facebooklogin.php +++ b/actions/facebooklogin.php @@ -31,7 +31,7 @@ class FacebookinviteAction extends FacebookAction $this->error = $error; if ($this->flink) { - if (!$this->facebook->api_client->users_hasAppPermission('status_update') && + if (!$this->facebook->api_client->users_hasAppPermission('publish_stream') && $this->facebook->api_client->data_getUserPreference( FACEBOOK_PROMPTED_UPDATE_PREF) == 'true') { @@ -60,7 +60,7 @@ class FacebookinviteAction 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') { |