vue-facebook-chat
v1.0.6
Published
Vue plugin for facebook chat
Downloads
167
Readme
VueFacebookChat
Vue plugin for facebook chat
Installation
npm i --save vue-facebook-chat
Module
import VueFbChat from 'vue-facebook-chat'
Usage
in app.js:
import VueFbChat from 'vue-facebook-chat'
Vue.use(VueFbChat)
can be used in a template as simply as:
<vue-facebook-chat :app-id="YOUR_APP_IDD" :page-id="YOUR_PAGE_ID"></vue-facebook-chat>
Optional
| Attribute | Description | | :---: | --- | | theme-color | The color to use as a theme for the plugin, including the background color of the customer chat plugin icon and the background color of any messages sent by users. Supports any hexadecimal color code with a leading number sign (e.g. #0084FF), except white. | | login-msg | The greeting text that will be displayed if the user is currently logged in to Facebook. Maximum 80 characters. | | logout-msg | The greeting text that will be displayed if the user is currently not logged in to Facebook. Maximum 80 characters. |