Skip to content

Commit 9a2aaa7

Browse files
committed
docs: Mark twitter v1 endpoint deprecated, see #86
1 parent 28eb134 commit 9a2aaa7

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

lib/Block/TwitterTimeline.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
* @author Ben Klang <ben@alkaloid.net>
1212
* @author Michael J Rubinsky <mrubinsk@horde.org>
1313
* @package Horde
14+
*
15+
* @deprecated Uses the defunct Twitter V1 API via OAuth 1.0a. A replacement
16+
* based on Horde\Service\Twitter\V2 (PSR-18) and Horde OAuth2
17+
* is needed.
1418
*/
1519

1620
use Horde\Support\Randomid;

services/twitter/index.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
* @category Horde
1313
* @license http://www.horde.org/licenses/lgpl LGPL-2
1414
* @package Horde
15+
*
16+
* @deprecated This OAuth 1.0a callback targets the defunct Twitter V1 API.
17+
* A replacement based on Horde\Service\Twitter\V2 (PSR-18) and
18+
* Horde OAuth2 is needed.
1519
*/
1620

1721
use Horde\Util\Util;

0 commit comments

Comments
 (0)