Reputation: 1
i have been trying to figure out how to use https://graph.facebook.com/search?type=adinterest&q=[%22coffee%22]&limit=10000&locale=en_US&access_token=%token_here%
in restfb and i just keep failing, that's what i tried so far.
String token = "token";
FacebookClient facebookClient = new DefaultFacebookClient(token, Version.LATEST);
Connection<Place> publicSearch =
facebookClient.fetchConnection("search", Place.class,
Parameter.with("q", "coffee"), Parameter.with("type", "place"));
Upvotes: 0
Views: 25