mirror of
https://github.com/friendica/friendica
synced 2025-04-22 18:30:13 +00:00
API: Fix profile_url handling / missing constant
This commit is contained in:
parent
dbcaf51923
commit
fb47389c69
12 changed files with 83 additions and 110 deletions
|
@ -42,7 +42,7 @@ class UserTimeline extends BaseApi
|
|||
|
||||
Logger::info('api_statuses_user_timeline', ['api_user' => $uid, '_REQUEST' => $_REQUEST]);
|
||||
|
||||
$cid = BaseApi::getContactIDForSearchterm($_REQUEST['screen_name'] ?? '', $_REQUEST['user_id'] ?? 0, $uid);
|
||||
$cid = BaseApi::getContactIDForSearchterm($_REQUEST['screen_name'] ?? '', $_REQUEST['profileurl'] ?? '', $_REQUEST['user_id'] ?? 0, $uid);
|
||||
$since_id = $_REQUEST['since_id'] ?? 0;
|
||||
$max_id = $_REQUEST['max_id'] ?? 0;
|
||||
$exclude_replies = !empty($_REQUEST['exclude_replies']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue