You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The search API (http://friendfeed.com/api/feed/search) fails with
"sanitized" URIs--URIs where certain symbols have been translated into
codes, e.g., ":" to "%3A", "+" to "%2B". (One can get these translations
via Python's urllib.quote_plus().)
Example:
Compare the following results:
curl -u "username:remotekey"
"http://friendfeed.com/api/feed/search?q=from%3Amndoci%2Bcomment%3Anuin%2Blikes%
3A10"
vs.
curl -u "username:remotekey"
"http://friendfeed.com/api/feed/search?q=from:mndoci+comment:nuin+likes:10"
In the former, the users who posted and commented on the entries are
random; in the latter, we get the expected result of entries posted by user
'mndoci' and commented on by user 'nuin'.
In particular, it seems to be a lack of decoding the "+" symbol from "%2B", as
curl -u "username:remotekey"
"http://friendfeed.com/api/feed/search?q=from%3Amndoci+comment%3Anuin+likes%3A10
"
gives the expected result, too.
Best,
Chris
Original issue reported on code.google.com by chris.la...@gmail.com on 4 Jun 2009 at 9:00
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
chris.la...@gmail.com
on 4 Jun 2009 at 9:00The text was updated successfully, but these errors were encountered: