Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get users current location from Facebook messenger Chatbot api

I am working on fb messenger bot and I want to access user's current location without them sending it as an attachment.I tried to get user's current location from fb graph API but it seems like to return the user's location from their profile. I need something like real time geo coordinates.

Thanks in Advance!

like image 666
Charan Goud Avatar asked Jul 31 '16 05:07

Charan Goud


Video Answer


1 Answers

The only way to get the location is when the user sends it: https://developers.facebook.com/docs/messenger-platform/send-api-reference/quick-replies

More information: How to send location from Facebook messenger platform?

like image 198
andyrandy Avatar answered Dec 30 '22 22:12

andyrandy