mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-17 07:26:46 +00:00
Add Facebook Customer Chat for the blogging system
This commit is contained in:
11
components/FacebookMessenger.js
Normal file
11
components/FacebookMessenger.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import BLOG from '@/blog.config'
|
||||
import MessengerCustomerChat from 'react-messenger-customer-chat'
|
||||
|
||||
const Messenger = () => (
|
||||
<MessengerCustomerChat
|
||||
pageId={BLOG.FACEBOOK_PAGE_ID}
|
||||
appId={BLOG.FACEBOOK_APP_ID}
|
||||
language={BLOG.LANG.replace('-', '_')}
|
||||
/>
|
||||
)
|
||||
export default Messenger
|
||||
Reference in New Issue
Block a user