Name: react-messenger-message-us
Owner: YOCTOL INFO INC.
Description: React component for messenger message us plugin
Created: 2018-03-20 04:34:53.0
Updated: 2018-03-21 15:10:30.0
Pushed: 2018-03-21 09:11:02.0
Homepage: null
Size: 132
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
React component for Messenger message us plugin
Whitelist your domain to connect your Facebook Page to your website via the Facebook tool.
install react-messenger-message-us
rt React from 'react';
rt ReactDOM from 'react-dom';
rt MessengerMessageUs from 'react-messenger-message-us';
tDOM.render(
essengerMessageUs pageId="<PAGE_ID>" appId="<APP_ID>" />,
cument.getElementById('demo')
Note: It will handle sdk initialize automatically for you. See more details in fbsdk official docs.
ic propTypes = {
geId: PropTypes.string.isRequired,
pId: PropTypes.string.isRequired,
lor: PropTypes.string,
ze: PropTypes.string,
toLogAppEvents: PropTypes.bool,
bml: PropTypes.bool,
rsion: PropTypes.string,
nguage: PropTypes.string,
bug: PropTypes.bool,
ic defaultProps = {
lor: 'blue',
ze: 'large',
toLogAppEvents: true,
bml: true,
rsion: '2.11',
nguage: 'en_US',
bug: false,
MIT © Yoctol