Commit 74296fa12c7813ad5cdc80750173c11912b5860f
- Diff rendering mode:
- inline
- side by side
actions/twitapistatuses.php
(5 / 0)
|   | |||
| 136 | 136 | ||
| 137 | 137 | } | |
| 138 | 138 | ||
| 139 | function home_timeline($args, $apidata) | ||
| 140 | { | ||
| 141 | call_user_func(array($this, 'friends_timeline'), $args, $apidata); | ||
| 142 | } | ||
| 143 | |||
| 139 | 144 | function user_timeline($args, $apidata) | |
| 140 | 145 | { | |
| 141 | 146 | parent::handle($args); |
lib/router.php
(3 / 3)
|   | |||
| 272 | 272 | $m->connect('api/statuses/:method', | |
| 273 | 273 | array('action' => 'api', | |
| 274 | 274 | 'apiaction' => 'statuses'), | |
| 275 | array('method' => '(public_timeline|friends_timeline|user_timeline|update|replies|mentions|show|friends|followers|featured)(\.(atom|rss|xml|json))?')); | ||
| 275 | array('method' => '(public_timeline|home_timeline|friends_timeline|user_timeline|update|replies|mentions|show|friends|followers|featured)(\.(atom|rss|xml|json))?')); | ||
| 276 | 276 | ||
| 277 | 277 | $m->connect('api/statuses/:method/:argument', | |
| 278 | 278 | array('action' => 'api', | |
| 279 | 279 | 'apiaction' => 'statuses'), | |
| 280 | array('method' => '(|user_timeline|friends_timeline|replies|mentions|show|destroy|friends|followers)')); | ||
| 280 | array('method' => '(user_timeline|home_timeline|friends_timeline|replies|mentions|show|destroy|friends|followers)')); | ||
| 281 | 281 | ||
| 282 | 282 | // users | |
| 283 | 283 | ||
| … | … | ||
| 436 | 436 | $m->connect('api/statuses/:method/:argument', | |
| 437 | 437 | array('action' => 'api', | |
| 438 | 438 | 'apiaction' => 'statuses'), | |
| 439 | array('method' => '(|user_timeline|friends_timeline|replies|mentions|show|destroy|friends|followers)')); | ||
| 439 | array('method' => '(user_timeline|home_timeline|friends_timeline|replies|mentions|show|destroy|friends|followers)')); | ||
| 440 | 440 | ||
| 441 | 441 | $m->connect('api/statusnet/groups/:method/:argument', | |
| 442 | 442 | array('action' => 'api', |
Comments
Add a new comment:
Login or create an account to post a comment
Add your comment
Please log in to comment

