Advertisement
Guest User

Untitled

a guest
Jun 26th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. {
  2. "message": {
  3. "text": "To change the language to english, please type 'En'"
  4. },
  5. "recipient": {
  6. "id": "ClientRecipientPSID"
  7. }
  8. }
  9.  
  10. {
  11. "error": {
  12. "message": "(#2022) Your account is temporarily unavailable. Regain access by logging in from a mobile or web browser.",
  13. "type": "OAuthException",
  14. "code": 2022,
  15. "fbtrace_id": "BeDypKgHKH2"
  16. }
  17. }
  18.  
  19. {
  20. "message": {
  21. "attachment": {
  22. "type": "template",
  23. "payload": {
  24. "elements": [{
  25. "title": "ZZZ",
  26. "subtitle": "Hello John Iā€™m ZZZ Bot. Ask me anything and I'll be glad to help you.",
  27. "buttons": [{
  28. "type": "postback",
  29. "title": "Title1",
  30. "payload": "1"
  31. }, {
  32. "type": "postback",
  33. "title": "Title2",
  34. "payload": "2"
  35. }, {
  36. "type": "web_url",
  37. "url": "client_url",
  38. "title": "Title3"
  39. }],
  40. "image_url": "our_img_url",
  41. "default_action": {
  42. "type": "web_url",
  43. "url": "link_to_client_site",
  44. "webview_height_ratio": "tall",
  45. "fallback_url": "link_to_client_site",
  46. "messenger_extensions": true
  47. }
  48. }, {
  49. "title": "ZZZ",
  50. "subtitle": "Click below for more information:",
  51. "buttons": [{
  52. "type": "postback",
  53. "title": "TitleX",
  54. "payload": "371"
  55. }, {
  56. "type": "postback",
  57. "title": "TitleY",
  58. "payload": "372"
  59. }, {
  60. "type": "postback",
  61. "title": "TitleZ",
  62. "payload": "373"
  63. }],
  64. "image_url": "our_img_url",
  65. "default_action": {
  66. "type": "web_url",
  67. "url": "link_to_client_site",
  68. "webview_height_ratio": "tall",
  69. "fallback_url": "link_to_client_site",
  70. "messenger_extensions": true
  71. }
  72. }],
  73. "template_type": "generic"
  74. }
  75. }
  76. },
  77. "recipient": {
  78. "id": "ClientRecipientPSID"
  79. }
  80. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement