Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Complex queries do not work when searching within Facebook's public feed #45

XComp opened this Issue Aug 27, 2012 · 2 comments


None yet
2 participants

XComp commented Aug 27, 2012

when I want to search within Facebook's public feed using FeedTemplate.searchPublicFeed(String, int, int) it works fine, when there is only one keyword within the query. Facebook supports also logical operators like AND (which actually is represented by a space or +), OR (which is represented by a pipe framed by spaces) and quotes.
Using those operators within a query passed through searchPublicFeed(String, int, int) wouldn't return any results. The reason for that is that internally the query is built and encoded. Since the search terms are also encoded, Facebook is unable to interpret them correctly. This is the same issue when using special characters like German Umlaute.
A solution might be to disable encoding for the search terms. But this seems to be a dirty hack, doesn't it?


habuma commented Aug 31, 2012

Transferred this issue to the Spring Social Facebook JIRA (https://jira.springsource.org/browse/SOCIALFB-95).

@ghost ghost assigned habuma Aug 31, 2012


habuma commented Oct 24, 2012

XComp: I left a comment for you at https://jira.springsource.org/browse/SOCIALFB-95, but today realized that you are not watching that issue. Could you please visit that issue and give feedback on what I asked about?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment