rss-bridge
rss-bridge copied to clipboard
[TwitterBridge] problem with multiple words search
Hi, I get an error 500 when I enter "mt crosby road" for a Twitter search:
Application Error
The application could not run because of the following error: Details Type: Exception Code: 500 Message: twitter: No results for this query. File: lib/error.php Line: 26 Trace #0 index.php(7): RssBridge->main() #1 lib/RssBridge.php(15): RssBridge->run() #2 lib/RssBridge.php(88): DisplayAction->execute() #3 actions/DisplayAction.php(148): TwitterBridge->collectData() #4 bridges/TwitterBridge.php(276): returnServerError() #5 lib/error.php(46): returnError() #6 lib/error.php(26)
Context Query: action=display&bridge=TwitterBridge&context=By keyword or hashtag&q=mt crosby road&format=Html Version: dev.2022-06-14 OS: Linux PHP: 7.4.29
it works with just "crosby road".
On twitter website the search for "mt crosby road" returns results: https://twitter.com/search?q=mt%20crosby%20road&src=typed_query&f=top
I don't understand what could be the problem...
Ping @arnd-s as maintainer of this bridge
I will try and take a look later today. Based on the reported issue and my own quick tests the problem is, when more then two search arguments are provided. The API returns in these cases a 500 http status code.
See also https://github.com/RSS-Bridge/rss-bridge/issues/3161