mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-16 20:00:55 +00:00
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
|
$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 New Issue
Block a user