Skip to content


Subversion checkout URL

You can clone with
Download ZIP


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

XComp opened this Issue · 2 comments

2 participants


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?


Transferred this issue to the Spring Social Facebook JIRA (

@habuma habuma was assigned

XComp: I left a comment for you at, 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
Something went wrong with that request. Please try again.