From ab46af97199293767bc5b565365ce2883ec845ca Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Mon, 3 Jul 2017 19:52:56 +0200 Subject: [PATCH] [TwitterBridge] Avoid empty content caused by new login policy Twitter now requires login to access "Tweets & Replies" which breaks feeds using the default behavior. Using the "Without replies" option still works. This commit makes the "Without replies" option default. That way existing feeds will return contents again. The parameter can still be checked but its status has no effect anymore. Notice: The parameter should not be removed as that would cause any feed using the parameter to stop working because of "Invalid parameter" References #544 --- bridges/TwitterBridge.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bridges/TwitterBridge.php b/bridges/TwitterBridge.php index 1c9656ef..fdb24b26 100644 --- a/bridges/TwitterBridge.php +++ b/bridges/TwitterBridge.php @@ -71,8 +71,9 @@ class TwitterBridge extends BridgeAbstract { . '&f=tweets'; case 'By username': return self::URI - . urlencode($this->getInput('u')) - . ($this->getInput('norep') ? '' : '/with_replies'); + . urlencode($this->getInput('u')); + // Always return without replies! + // . ($this->getInput('norep') ? '' : '/with_replies'); default: return parent::getURI(); } }