Toto je starší verze dokumentu!
Standard usage
By default messenger bot sends updates based on subscribed article categories. Users will be subscribed to main category of article on which page optin button is located.
Inserting Shortcode into Page
FB messenger bot plugin needs to be inserted into page, to display optin button for users on frontend.
In visual editor use shortcode plugin button
Or in texteditor shorcode:
[fb-msg-optin msg=„Optin for notification!“]
msg ⇒ This message displayed on fronend above optin fb button
Publishing post with notification
When publishing new post (or updating older one, which was not notified by FB messenger bot) check „Send one-time publish notification“ option.
After publishing/updating, all users opted for selected main category will be notified. In case that wordpress doesn't include „main category“ function, notifications will be sent to all assigned post categories.
Notifications for each post will by sent only once.
Extender usage
When extender module is loaded, bot will publish post notifications based on POST_TYPE of published content. For example: if user subscribes to `post`, he will be notified on every new `post` (article) published regardless on category of mentioned post.