$this->limit = $this->count + 1;
if ($this->arg('since')) {
- header('X-StatusNet-Warning: since parameter is disabled; use since_id');
+ header('X-GNUsocial-Warning: since parameter is disabled; use since_id');
}
$this->source = $this->trimmed('source');
/*! @page authentication Authentication
- StatusNet supports HTTP Basic Authentication and OAuth for API calls.
+ GNU social supports HTTP Basic Authentication and OAuth for API calls.
@warning Currently, users who have created accounts without setting a
password via OpenID, Facebook Connect, etc., cannot use the API until
$this->element(
'generator', array(
- 'uri' => 'http://status.net',
+ 'uri' => 'https://gnu.io/social',
'version' => GNUSOCIAL_VERSION
),
- 'StatusNet'
+ 'GNU social'
);
$this->element('id', null, $this->id);
if (!isset($_SERVER['PHP_AUTH_USER'])) {
// This header makes basic auth go
- header('WWW-Authenticate: Basic realm="StatusNet RSS"');
+ header('WWW-Authenticate: Basic realm="GNU social RSS"');
// If the user hits cancel -- bam!
$this->show_basic_auth_error();