summaryrefslogtreecommitdiff
path: root/actions/twitapigroups.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-07-10 18:08:10 -0700
committerZach Copley <zach@controlyourself.ca>2009-07-10 18:08:10 -0700
commitc13dd856c8c11f13129a45e25356678f5ae76971 (patch)
tree0aead6d2bf715e89a91cf68c072a7752265f06bd /actions/twitapigroups.php
parent544a14d290cc6c08950b2d4a6faf324704e90c6c (diff)
Fix alternate link for groups API feed
Diffstat (limited to 'actions/twitapigroups.php')
-rw-r--r--actions/twitapigroups.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/actions/twitapigroups.php b/actions/twitapigroups.php
index c8aae173f..db15b2cd3 100644
--- a/actions/twitapigroups.php
+++ b/actions/twitapigroups.php
@@ -69,7 +69,7 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
$title = sprintf(_("%s timeline"), $group->nickname);
$taguribase = common_config('integration', 'taguri');
$id = "tag:$taguribase:GroupTimeline:".$group->id;
- $link = common_local_url('showstream',
+ $link = common_local_url('showgroup',
array('nickname' => $group->nickname));
$subtitle = sprintf(_('Updates from %1$s on %2$s!'),
$group->nickname, $sitename);
@@ -94,11 +94,11 @@ require_once INSTALLDIR.'/lib/twitterapi.php';
case 'atom':
if (isset($apidata['api_arg'])) {
$selfuri = common_root_url() .
- 'api/statuses/group_timeline/' .
+ 'api/statuses/groups/timeline/' .
$apidata['api_arg'] . '.atom';
} else {
$selfuri = common_root_url() .
- 'api/statuses/group_timeline.atom';
+ 'api/statuses/groups/timeline.atom';
}
$this->show_atom_timeline($notice, $title, $id, $link,
$subtitle, $suplink, $selfuri);