agorapulse / grails-facebook-sdk

Facebook SDK Grails Plugin
http://agorapulse.github.com/grails-facebook-sdk/guide
30 stars 13 forks source link

facebookClient.publish for checkins not working, throwing exception #72

Closed hemantgp closed 9 years ago

hemantgp commented 9 years ago

My code : Map<String, String> coordinates = new HashMap<String, String>(); coordinates.put("latitude", "12.9939447415"); coordinates.put("longitude", "77.5849240674");

                FacebookType publishCheckinResponse = facebookClient.publish("me/checkins",
                FacebookType.class, Parameter.with("message", "I'm here!"),
                Parameter.with("coordinates", coordinates), Parameter.with("place", 175949649210752)); 
benorama commented 9 years ago

Are you using the latest version (:facebook-sdk:2.2.0)? It uses RestFB 1.7.0 under the hood.

If you find a bug, you might create an issue directly to RestFB: https://github.com/revetkn/restfb

Thanks.