Shortcode: ^fbLocationPrompt()

^fbLocationPrompt()

Add a location quick reply to your prompt.

A Facebook Messenger user can use this ^fbLocationPrompt() shortcode to send their location on a map back to the bot. This latitude and longitude value is stored for you in the _fbLatLong variable.

Example Usage

Facebook Location Prompt in Messenger

+ get location
- Tell me where you are: ^fbLocationPrompt()
 
+ __location__
- Right now you are at <get _fbLatLong>

Details

The ^fbLocationPrompt() is best used in conjunction with a few other elements:

If you do not want to respond to the user's location message, use the <noreply> direction to make sure that your bot does not send a response. (Otherwise, the bot will respond with the default catch-all.)

+ __location__
- <noreply>