User location

Updated 1 month ago by Matthew Clementson

Sending the user a quick-reply of type location will pop up a button asking the user to Send Location. If the user selects it then we receive a postback with a payload in this format

location 39.016716,125.771291

Where the two numbers separated by a comma are latitude and longitude co-ordinates in decimal degrees format with the degrees symbols omitted.

Note that the user can move the pin to anywhere in the world before clicking the send button so there is no guarantee that what we receive is the user's true location.

How did we do?