mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-10-23 03:15:45 +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
|
$cache->purgeCache(60 * 60 * 3); // 3h
|
||||||
$api = new TwitterClient($cache);
|
$api = new TwitterClient($cache);
|
||||||
|
|
||||||
$data = $api->fetchUserTweets($this->getInput('u'));
|
$screenName = $this->getInput('u');
|
||||||
|
$screenName = ltrim($screenName, '@');
|
||||||
|
$data = $api->fetchUserTweets($screenName);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'By keyword or hashtag':
|
case 'By keyword or hashtag':
|
||||||
|
|
Loading…
Reference in a new issue