Facebook checkin: how to find id place

I want to do server side registration. I have coordinates that are lat-long; I know the name and street address of the business. Is there any way to get placeId for 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)));
+5
source share
1 answer


If you know the lat-long coordinates, why not use the Graph API to get the data - For example - https://graph.facebook.com/search?type=place¢er=37.76,-122.427&distance=1&access_token= ...
This comes from Graph API document here - https://developers.facebook.com/docs/reference/api/

+2
source

All Articles