1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-01-17 14:18:35 +01:00

fix(TwitterBridge): trim screen name before passing it to twitter client (#3389)

This commit is contained in:
Dag 2023-05-10 21:59:50 +02:00 committed by GitHub
parent 49d105fd70
commit 88f646cf12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -232,8 +232,11 @@ EOD
$api = new TwitterClient($cache);
$screenName = $this->getInput('u');
$screenName = trim($screenName);
$screenName = ltrim($screenName, '@');
$data = $api->fetchUserTweets($screenName);
break;
case 'By keyword or hashtag':