How to get FB user Location using quick replies

Hi, I am creating bot and connect to Facebook messenger. it is working fine, Now my task is how to get FB user location using quick replies. Is there any permission on face book, and how to to write logic.

Note: I am getting FB user details like first_name, surname and profile_pic. Now I want to get user location using quick replies.

How to write this. Please help me

Thank you

Hi Rapolu,

thanks for your question. Unfortunately I’m not that much of an expert on the Facebook API, but I know they have made plenty of changes to how permissions work there since the Messenger platform first opened up. Have you found docs for the API endpoint you want to use? those should tell you what permissions you need and how to obtain them from the user. Possibly someone else on the forum is more of an expert?