Let people view friends_timeline of others
Add some code to view others' friends timelines through API.
This commit is contained in:
parent
1a63d7d829
commit
c21d61840d
|
@ -115,9 +115,14 @@ class TwitapistatusesAction extends TwitterapiAction
|
|||
|
||||
$since = strtotime($this->arg('since'));
|
||||
|
||||
$user = $this->get_user(null, $apidata);
|
||||
$user = $this->get_user($apidata['api_arg'], $apidata);
|
||||
$this->auth_user = $user;
|
||||
|
||||
if (empty($user)) {
|
||||
$this->clientError(_('No such user!'), 404, $apidata['content-type']);
|
||||
return;
|
||||
}
|
||||
|
||||
$profile = $user->getProfile();
|
||||
|
||||
$sitename = common_config('site', 'name');
|
||||
|
|
Loading…
Reference in New Issue
Block a user