Facebook Messenger: How do I get back to the greeting text? - facebook

I added the Facebook Messenger chat bot to my website. I added a greeting and everything is working fine.
Then I tested the chat by typing a chat in it.
Now I am unable to get back to it showing the greeting text. I deleted the conversation on messenger, but now it is just showing a blank chat bot on my website.
How do I get back to the normal greeting?

Open your web page in incognito mode (cmd+shift+n - for chrome on Mac). Click on the Facebook Messenger Web Chat, login to the Facebook and you should have a fresh chat with greeting as well.

Related

facebook messenger m.me share link

I have a referral page with a modal where users can send a share link to their friends. I need to implement the following flow:
a user clicks on facebook messenger icon and their messenger opens up where the user can choose someone of their contacts to send a share link to.
Looks like this is a solution for me but I can't clarify some questions https://developers.facebook.com/docs/messenger-platform/discovery/m-me-links/
I don't have an app and a page, I just need a user to open their messenger and paste and send a text to their friends.
Is this the same flow for web, iOS, Android?
Can I preload the text I want the user to share so that it will appear in the dialog with the contact the user has chosen (in some messengers it is possible)?
FB has 2 different APIs for solving this issue: for web and for mobile. They are very similar and described here:
web https://developers.facebook.com/docs/sharing/reference/send-dialog/
mobile https://developers.facebook.com/docs/sharing/messenger/web
In two words, you need to add a FB script to activate FB JS SDK and then call a method to share a link.

Chatbot server does not received pass thread control event from facebook page manager android app

Currently, I use facebook LiveChat feature that allow my bot to passing thread control to page inbox so that user can talk to page owner directly if they want.
According to document (https://developers.facebook.com/docs/messenger-platform/handover-protocol/pass-thread-control#page_inbox)
when admin page done chatting with user they can push "DONE" button and page inbox will passing thread control back to bot.
After testing with page inbox from web browser, everything seems to work well. However, I found out that if I push "DONE" button from facebook page manager android mobile app, my bot doesn't receive thread control from page inbox. So user thread control will stuck with admin page inbox forever and they cannot resume chatting with my bot, until admin page press "DONE" in browser page inbox.
Did I done something incorrectly or it is the bug from facebook page manager mobile app?

Embed Facebook Customer Chat Plugin without creating a Facebook app

It seems in order to embed Facebook Customer Chat Plugin, dev has to create a custom Facebook app to act as hook receiver to be called from the embed. The flow is somehow this way:
Embed on browser ---custom app id,page id---> Custom web server ---page access token,text response--> Facebook Messenger Server --> Back to Embed on browser.
This is good for making a chatbot but can it be simpler to chat directly between visitor and a Facebook page owner, this way:?
Embed on browser ---Messenger app id,page id---> Facebook Messenger Server ---> Page owner on Messenger.com ---text response--> Embed on browser.
Facebook Message Us Plugin and m.me link are other options but overlay embed (Customer Chat Plugin) is more interesting as visitors can chat right on the web page.
PS.
m.me link is nice on Android, it opens Messenger app.

Facebook Messenger Bot - View Greeting Text

I'm developing a bot for FB Messenger and want to set a greeting text for the first time a user interacts with the bot.
I followed what the docs say on setting the greeting text. Now I would like to test it and view the greeting message. However, I am stuck because I have already sent the bot messages and hence am not able to view the bot as a new user.
How is it possible to viewing the greeting message UI as if you were a new user?
Unfortunately there is no "official" way to see the greeting message UI as if you were a new user.
But, a workaround for this is to delete the conversation (from your messenger application or from Facebook's chat) and reinitiate it.

Facebook Get Started Button not rendering for new user(non developer)

Facebook get started button is not rendering for users who are not added in app developer account.
I can see get started button working for users having any role assigned to them in app developer console. But same is not working for general users
P.S as per FB developer doc I have taken care of all the points mentioned below
1 -My app is not in development mode. it is public and available to all.
2 -Webhook postback is properly configured and is working fine with users who are registered as developer in FB app developer console(developer can see "get started button" on messenger and web as well).
3 - User are first time user(Not have done any conversation with my FB app before).
in-shot Normal FB users or new FB users are not getting "GET started button" on there FB messenger or on web(www.messenger.com)