Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "message": {
- "text": "To change the language to english, please type 'En'"
- },
- "recipient": {
- "id": "ClientRecipientPSID"
- }
- }
- {
- "error": {
- "message": "(#2022) Your account is temporarily unavailable. Regain access by logging in from a mobile or web browser.",
- "type": "OAuthException",
- "code": 2022,
- "fbtrace_id": "BeDypKgHKH2"
- }
- }
- {
- "message": {
- "attachment": {
- "type": "template",
- "payload": {
- "elements": [{
- "title": "ZZZ",
- "subtitle": "Hello John Iām ZZZ Bot. Ask me anything and I'll be glad to help you.",
- "buttons": [{
- "type": "postback",
- "title": "Title1",
- "payload": "1"
- }, {
- "type": "postback",
- "title": "Title2",
- "payload": "2"
- }, {
- "type": "web_url",
- "url": "client_url",
- "title": "Title3"
- }],
- "image_url": "our_img_url",
- "default_action": {
- "type": "web_url",
- "url": "link_to_client_site",
- "webview_height_ratio": "tall",
- "fallback_url": "link_to_client_site",
- "messenger_extensions": true
- }
- }, {
- "title": "ZZZ",
- "subtitle": "Click below for more information:",
- "buttons": [{
- "type": "postback",
- "title": "TitleX",
- "payload": "371"
- }, {
- "type": "postback",
- "title": "TitleY",
- "payload": "372"
- }, {
- "type": "postback",
- "title": "TitleZ",
- "payload": "373"
- }],
- "image_url": "our_img_url",
- "default_action": {
- "type": "web_url",
- "url": "link_to_client_site",
- "webview_height_ratio": "tall",
- "fallback_url": "link_to_client_site",
- "messenger_extensions": true
- }
- }],
- "template_type": "generic"
- }
- }
- },
- "recipient": {
- "id": "ClientRecipientPSID"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement