[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
This commit is contained in:
parent
06babeb644
commit
ab46af9719
1 changed files with 3 additions and 2 deletions
|
@ -71,8 +71,9 @@ class TwitterBridge extends BridgeAbstract {
|
||||||
. '&f=tweets';
|
. '&f=tweets';
|
||||||
case 'By username':
|
case 'By username':
|
||||||
return self::URI
|
return self::URI
|
||||||
. urlencode($this->getInput('u'))
|
. urlencode($this->getInput('u'));
|
||||||
. ($this->getInput('norep') ? '' : '/with_replies');
|
// Always return without replies!
|
||||||
|
// . ($this->getInput('norep') ? '' : '/with_replies');
|
||||||
default: return parent::getURI();
|
default: return parent::getURI();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue