Skip to content

Commit 4ff0c98

Browse files
committed
Remove sunsetting Streaming API
1 parent 0041ca0 commit 4ff0c98

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

CHANGELOG

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ codebird-php - changelog
1919
+ Add new Direct Messages API
2020
+ Update cacert.pem file
2121
- Remove sunsetting Direct Messages API
22+
- Remove sunsetting Streaming API
2223

2324
3.1.0 (2016-02-15)
2425
+ #143 Add support for proxy types

src/codebird.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,6 @@ class Codebird
310310
'saved_searches/list',
311311
'saved_searches/show/:id',
312312
'search/tweets',
313-
'site',
314313
'statuses/firehose',
315314
'statuses/home_timeline',
316315
'statuses/mentions_timeline',
@@ -324,7 +323,6 @@ class Codebird
324323
'trends/available',
325324
'trends/closest',
326325
'trends/place',
327-
'user',
328326
'users/contributees',
329327
'users/contributors',
330328
'users/profile_banner',
@@ -2019,10 +2017,7 @@ protected function _detectStreaming($method) {
20192017
'public' => [
20202018
'statuses/sample',
20212019
'statuses/filter',
2022-
'statuses/firehose'
2023-
],
2024-
'user' => ['user'],
2025-
'site' => ['site']
2020+
]
20262021
];
20272022
foreach ($streamings as $key => $values) {
20282023
if (in_array($method, $values)) {

0 commit comments

Comments
 (0)