Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Location Quick Reply is now deprecated #135

Open
rluisnpt1 opened this issue Jan 13, 2021 · 0 comments
Open

Location Quick Reply is now deprecated #135

rluisnpt1 opened this issue Jan 13, 2021 · 0 comments

Comments

@rluisnpt1
Copy link

rluisnpt1 commented Jan 13, 2021

Claudia.js /
In this example, return new fbTemplate.Text('Test Quick Replay ?').addQuickReplyLocation() .get();
When the request is made, we get an error back.

"dependencies": {
"claudia": "^5.12.0",
"claudia-bot-builder": "^4.0.0",
},

{
ERROR:  {
    headers: {
      'access-control-allow-origin': '*',
      'x-app-usage': '{"call_count":0,"total_cputime":0,"total_time":0}',
      'x-fb-rlafr': '1',
      'x-fb-request-id': 'A2kE_skUtmtha4Rrsms2ECq',
      'strict-transport-security': 'max-age=15552000; preload',
      'x-fb-trace-id': 'G6iqbHQ7E74',
      'facebook-api-version': 'v9.0',
      'content-type': 'text/javascript; charset=UTF-8',
      'x-fb-rev': '1003180565',
      'cache-control': 'no-store',
      pragma: 'no-cache',
      expires: 'Sat, 01 Jan 2000 00:00:00 GMT',
      'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" "(#100) Location Quick Reply is now deprecated on API 4.0. Please refer to our Developer Documentation for more info."',
      'x-fb-debug': 'DtYL8sFygV1NHVp1nSnpbwzY89rlaQ4OVwRASISn2i500o37nRHjnIgFCnokA8t2LtHeJs0v8uZuTZVmjpxK0w==',
      date: 'Wed, 13 Jan 2021 22:23:36 GMT',
      'alt-svc': 'h3-29=":443"; ma=3600,h3-27=":443"; ma=3600',
      connection: 'close',
      'content-length': '238'
    },
    body: '{"error":{"message":"(#100) Location Quick Reply is now deprecated on API 4.0. Please refer to our Developer Documentation for more info.","type":"OAuthException","code":100,"error_subcode":2018286,"fbtrace_id":"A2kE_skUtmtha4Rrsms2ECq"}}',
    statusCode: 400,
    statusMessage: 'Bad Request'
  }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant