vue-facebook-chat

Vue plugin for facebook chat
2,545
Install
npm install vue-facebook-chat
Latest Version:1.0.6
Vue:2
License:ISC
Last Updated:Aug 14, 2018
Links: npm
Maintainer: andre-fig

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.

Version History

Version Released Vue License
1.0.6 ^2.5.17 ISC
1.0.5 ^2.5.17 ISC
1.0.3 ^2.5.17 ISC
1.0.2 ^2.5.17 ISC
1.0.1 ^2.5.17 ISC