Zobrazit stránku Starší verze Zpětné odkazy Přejmenovat stránku ====== 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 {{:skoda-ep:modules:fb-app-5.png?600|}} Or in texteditor shorcode: ''[fb-msg-optin msg="Optin for notification!"]'' msg => This message displayed on fronend above optin fb button {{:skoda-ep:modules:fb-app-6.png?200|}} ==== 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. {{:skoda-ep:modules:page_publish.png?200|}} 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.