5

I want to do a server-side check-in. I have the coordinates, which is lat-long; I know the name and street address of the business. Is there a way to get the placeId for the parameter Parameter.with("place", 1234)?

FacebookType publishCheckinResponse = facebookClient.publish("me/checkins",
  FacebookType.class, Parameter.with("message", "I'm here!"),
    Parameter.with("coordinates", coordinates), Parameter.with("place", 1234)));
tribal
  • 653
  • 2
  • 13
  • 26

1 Answers1

3


If you know the lat-long co-ordinates, why not use Graph API to get the data - Eg - https://graph.facebook.com/search?type=place&center=37.76,-122.427&distance=1&access_token=...
This comes from the Graph API doc here - https://developers.facebook.com/docs/reference/api/

deesarus
  • 1,202
  • 8
  • 10