From 79099a986858fa994108edcec16ebcdc350701a8 Mon Sep 17 00:00:00 2001 From: Ryan Harris Date: Fri, 19 Jul 2024 13:52:13 +0200 Subject: [PATCH] Replaced endpoint from Twitter's to X's --- src/TwitterOAuth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TwitterOAuth.php b/src/TwitterOAuth.php index 05f65952..6449db02 100644 --- a/src/TwitterOAuth.php +++ b/src/TwitterOAuth.php @@ -26,8 +26,8 @@ */ class TwitterOAuth extends Config { - private const API_HOST = 'https://api.twitter.com'; - private const UPLOAD_HOST = 'https://upload.twitter.com'; + private const API_HOST = 'https://api.x.com'; + private const UPLOAD_HOST = 'https://upload.x.com'; /** @var Response details about the result of the last request */ private ?Response $response = null;