Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to setup "Get started" button in facebook messenger bot and when to send welcome message

"Get Started"

tried sending request to this url

https://graph.facebook.com/v2.6/PAGE_ID/thread_settings?access_token=PAGE_ACCESS_TOKEN

But didn't work.

like image 663
kanth Avatar asked Jun 27 '16 07:06

kanth


People also ask

How do I set up welcome message on Messenger?

Go to your page's General Settings and select Messaging. Scroll down and turn Show a Messenger Greeting on. To edit the greeting, click Change.

Why does my Messenger say get started?

The welcome screen includes a 'get started' button, which starts a conversation with your Messenger bot when it is tapped. When a person taps the 'get started' button, the message 'get started' will be posted into the conversation, and your bot is then granted permission to send messages.


2 Answers

The current format is, https://graph.facebook.com/v2.6/me/messenger_profile?access_token=PAGE_ACCESS_TOKEN

{ 
  "get_started":{
    "payload":"GET_STARTED_PAYLOAD"
  }
}
like image 180
Neha Creado Avatar answered Oct 04 '22 00:10

Neha Creado


It is possible you set it successfully, but are not seeing it because you already have an existing conversation with the facebook page.

After successfully setting the "Get Started" thread, you will only see it if you delete your existing conversation thread and start a new one.

Get started button is only shown when you are interacting with the facebook page for the first time, so if you have previously messaged the page, you will not be able to see "Get Started" unless you delete the thread from your Facebook Messenger client (either mobile or desktop).

From the FB Messenger Docs:

There are certain conditions to seeing the Welcome Screen and the Get Started button:

  • They are only rendered the first time the user interacts with the Page on Messenger
  • Only admins/developers/testers of the app can see it when the app is in development mode
  • Your app must be subscribed to postbacks on your webhook
like image 32
Jon Church Avatar answered Oct 03 '22 23:10

Jon Church