rss-bridge icon indicating copy to clipboard operation
rss-bridge copied to clipboard

[TwitterBridge] problem with multiple words search

Open jcmag opened this issue 2 years ago • 3 comments

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...

jcmag avatar Dec 03 '22 14:12 jcmag

Ping @arnd-s as maintainer of this bridge

em92 avatar Dec 03 '22 18:12 em92

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.

arnd-s avatar Dec 06 '22 09:12 arnd-s

See also https://github.com/RSS-Bridge/rss-bridge/issues/3161

dvikan avatar Dec 08 '22 20:12 dvikan