Hey there! Thanks for using the plug-in. You can edit the welcome message for the plug-in in the options setting.
hey @ erinphilpot, I was trying to ask Where i will copy paste this snippets?
curl -X POST -H "Content-Type: application/json" -d '{
"greeting": [
{
"locale":"default",
"text":"Hello!"
}, {
"locale":"en_US",
"text":"Timeless apparel for the masses."
}
]
}' "https://graph.facebook.com/v2.6/me/messenger_profile?access_token=<PAGE_ACCESS_TOKEN>"
And
"greeting":[
{
"locale":"default",
"text":"Hello {{user_first_name}}!"
}
]
Hey there! We made it so you don’t have to use curl at all. Maybe this screenshot will help? chrome-extension://fdpohaocaechififmbbbbbknoalclacl/capture.html?id=210&url=https%3A%2F%2Fcustomerchat.wpengine.com%2Fwp-admin%2Foptions-general.php%3Fpage%3Dcustomer-chat-for-facebook
hey. Link is garbled, can you share again?
Sorry about that! Try this one: https://imgur.com/a/zUjUQ3u
That wasn’t question. Let me rephrase again:
I want to put a greeting message like
“Hey Jonathan”
But to greet liket that, i need to pull user_name. I can see via curl username can be pulled.
But where will i put that curl situation?
This screenshot is just standard greeting. not personized greeting.
Oh, that makes sense, we were confused by why you needed to do it the hard way via curl.
I believe the only way to use curl is either in your command line or by setting up a server that controls your chat. Not by entering it into this plugin.
If you’re not coding a fully custom chatbot I’d recommend trying a service like Many Chat to do more advanced things with your chat interface.
If you are coding a chatbot: more power to you and I’d recommend Github.
-
This reply was modified 7 years, 7 months ago by
thatguysam.
Hmm. Ok thank you. All I needed was to shout their name π
For now, the only way I know of is with a server or website like ManyChat.
I’ll look into adding personalized greetings in the future.
Thanks for asking!