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:
parent
49d105fd70
commit
88f646cf12
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user