Support » Plugin: XX2WP Integration Tools » Setting up automated responses for messenger

  • Resolved JeanPaul1

    (@jeanpaul1)


    Can you explain how I can set this up?
    Where can I do this?
    Are there shortcodes I can use or must I add my own function?
    Similar to this,

    add_action( ‘FB2WP_message_received’, ‘my_cool_bot’ );
    function my_cool_bot( $M ) {
    if( ! $M->postback ) {
    $M->reply_with_text( ‘Hi There!’ );
    $M->reply_with_text( ‘Hello, I hope you are having a good day! With what can I help you today’ );
    }
    exit( 0 );
    }

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Setting up automated responses for messenger’ is closed to new replies.