mirror of https://github.com/danoloan10/rss-bridge
fix(TwitterBridge): remove ampersand from screen name, api dont like it (#3388)
This commit is contained in:
parent
ff49c9f731
commit
49d105fd70
|
@ -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…
Reference in New Issue