8000 Add tweets/search method · Gamerdodo58/codebird-php@ac40586 · GitHub
[go: up one dir, main page]

Skip to content

Commit ac40586

Browse files
authored
Add tweets/search method
1 parent 545ce86 commit ac40586

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/codebird.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@ class Codebird
430430
'statuses/update_with_media', // deprecated, use media/upload
431431
'ton/bucket/:bucket',
432432
'ton/bucket/:bucket?resumable=true',
433+
'tweets/search/30day/:env',
433434
'users/lookup',
434435
'users/report_spam'
435< 74C4 code>436
],
@@ -1943,7 +1944,8 @@ protected function _detectJsonBody($method) {
19431944
'ads/sandbox/batch/accounts/:account_id/line_items',
19441945
'ads/sandbox/batch/accounts/:account_id/targeting_criteria',
19451946
'collections/entries/curate',
1946-
'media/metadata/create'
1947+
'media/metadata/create',
1948+
'tweets/search/30day/:env'
19471949
];
19481950
return in_array($method, $json_bodies);
19491951
}

0 commit comments

Comments
 (0)
0