Get the location from messenger API

38 views Asked by At

How can I get the location? Can you give me the object that I send? I'd like an example please.

The quick reply is not working now:

I have this error:

"(#100) Location Quick Reply is now deprecated on API 4.0. Please refer to our Developer Documentation for more info.",

when I try to send this:

{
  "recipient": {
    "id": "userid"
  },
  "message": {
    "text": "To assist you better, could you please share your location?",
    "quick_replies": [
      {
        "content_type": "location",
      }
    ]
  }
}

The location for the user. Can someone please give me what can I do?

0

There are 0 answers