Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Open
XComp opened this Issue · 2 comments

2 participants

@XComp

Hi,
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
Owner

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

@habuma habuma was assigned
@habuma
Owner

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
Something went wrong with that request. Please try again.