Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support erinphilpot

    (@erinphilpot)

    Hey there! Thanks for using the plug-in. You can edit the welcome message for the plug-in in the options setting.

    Thread Starter auludag

    (@auludag)

    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}}!"
      }
    ]
    Plugin Support erinphilpot

    (@erinphilpot)

    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

    Thread Starter auludag

    (@auludag)

    hey. Link is garbled, can you share again?

    Plugin Support erinphilpot

    (@erinphilpot)

    Sorry about that! Try this one: https://imgur.com/a/zUjUQ3u

    Thread Starter auludag

    (@auludag)

    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.

    Plugin Author thatguysam

    (@thatguysam)

    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 6 years, 1 month ago by thatguysam.
    Thread Starter auludag

    (@auludag)

    Hmm. Ok thank you. All I needed was to shout their name ??

    Plugin Author thatguysam

    (@thatguysam)

    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!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘curl command’ is closed to new replies.