mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-02-16 23:29:56 +03:00
fix(TwitterBridge): remove ampersand from screen name, api dont like it (#3388)
This commit is contained in:
parent
ff49c9f731
commit
49d105fd70
1 changed files with 3 additions and 1 deletions
|
@ -231,7 +231,9 @@ EOD
|
|||
$cache->purgeCache(60 * 60 * 3); // 3h
|
||||
$api = new TwitterClient($cache);
|
||||
|
||||
$data = $api->fetchUserTweets($this->getInput('u'));
|
||||
$screenName = $this->getInput('u');
|
||||
$screenName = ltrim($screenName, '@');
|
||||
$data = $api->fetchUserTweets($screenName);
|
||||
break;
|
||||
|
||||
case 'By keyword or hashtag':
|
||||
|
|
Loading…
Add table
Reference in a new issue