फेसबुक chatbot: सूची खाका जवाब नहीं देता कवर छवि

वोट
0

मैं फेसबुक मैसेंजर प्लेटफार्म से सूची टेम्पलेट का परीक्षण कर रहा हूँ।

फेसबुक दस्तावेज़ लिंक

सूची टेम्पलेट के रूप में मैं उम्मीद काम नहीं करता। (NodeJS) नीचे मेरी कोड का संदर्भ लें:

function sendInfoMessage(sender){
let messageData = 
{
    attachment: {
        type: template,
        payload: {
            template_type: list,
            top_element_style: large,
            elements: [{
                    title: Coffee & Chat,
                    image_url: https://ak3.picdn.net/shutterstock/videos/3567512/thumb/1.jpg,
                    subtitle: A place for students,
                    buttons: [{
                        title: View,
                        type: web_url,
                        url: https://en.wikipedia.org/,
                        webview_height_ratio: tall
                    }]
                },
                {
                    title: Classic White T-Shirt,
                    image_url: https://static.pexels.com/photos/20787/pexels-photo.jpg,
                    subtitle: 100% Cotton, 200% Comfortable,
                    buttons: [{
                        title: Shop Now,
                        type: web_url,
                        url: https://www.google.co.uk/,
                        webview_height_ratio: tall
                    }]
                }
            ]
        }
    }
}


sendRequest(sender, messageData)
}

परिणाम: chatbot एक कवर छवि के बिना एक सादे सूची जवाब दिया।

किसी को भी इस समस्या का सामना करना पड़ा और मिल गया समाधान, मेरी मदद करें।

07/07/2017 को 15:29
का स्रोत उपयोगकर्ता
अन्य भाषाओं में...                            


1 जवाब

फेसबुक chatbot: सूची खाका जवाब नहीं देता कवर छवि

वोट
0

मैं फेसबुक मैसेंजर प्लेटफार्म से सूची टेम्पलेट का परीक्षण कर रहा हूँ।

फेसबुक दस्तावेज़ लिंक

सूची टेम्पलेट के रूप में मैं उम्मीद काम नहीं करता। (NodeJS) नीचे मेरी कोड का संदर्भ लें:

function sendInfoMessage(sender){
let messageData = 
{
    "attachment": {
        "type": "template",
        "payload": {
            "template_type": "list",
            "top_element_style": "large",
            "elements": [{
                    "title": "Coffee & Chat",
                    "image_url": "https://ak3.picdn.net/shutterstock/videos/3567512/thumb/1.jpg",
                    "subtitle": "A place for students",
                    "buttons": [{
                        "title": "View",
                        "type": "web_url",
                        "url": "https://en.wikipedia.org/",
                        "webview_height_ratio": "tall"
                    }]
                },
                {
                    "title": "Classic White T-Shirt",
                    "image_url": "https://static.pexels.com/photos/20787/pexels-photo.jpg",
                    "subtitle": "100% Cotton, 200% Comfortable",
                    "buttons": [{
                        "title": "Shop Now",
                        "type": "web_url",
                        "url": "https://www.google.co.uk/",
                        "webview_height_ratio": "tall"
                    }]
                }
            ]
        }
    }
}


sendRequest(sender, messageData)
}

परिणाम: chatbot एक कवर छवि के बिना एक सादे सूची जवाब दिया।

किसी को भी इस समस्या का सामना करना पड़ा और मिल गया समाधान, मेरी मदद करें।

07/07/2017 को 15:29
का स्रोत उपयोगकर्ता

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more