Install facebook plug-in
Learn More. To install from your WordPress site 1. Configure plugin for first use After plugin installed: 1. Go to settings page of the plugin. Click Get Started. Complete the Facebook Business Extension flow.
Agree to share your access token with your site. You can find more information on the Facebook Pixel. You can find more information on the Conversions API. You can refer to this page. If you get stuck, or have any questions, you can ask for help in the Facebook for WordPress plugin forum.
Of course! This plugin is open sourced on the Facebook Incubator GitHub. Tabs to render i. Use a comma-separated list to add multiple tabs, i.
The effect is that the browser does not render the plugin if it's not close to the viewport and might never be seen. Can be one of true or false default. The standard configuration of the Page plugin includes only the header and a cover photo. This size is ideal for promoting your Page in a small space, such as the top of a sidebar.
If your page has a custom call to action button, it will be shown instead of the default call to action which is a Share button. If the width of the plugin is less than px, the default Share button will be shown to prevent design misalignment in different translations. You can now have timeline , events and messages tabs on the plugin:. To enable messaging on your Facebook page go to your Page Settings. You can also just add a single tab showing either the timeline , events or messages :.
The plugin will by default adapt to the width of its parent container on page load min. If the width of the parent element is bigger than the Page plugin's width it will maintain the value defined in data-width :. Adaptive width can be switched off by unchecking Adapt to plugin container width and the plugin will rendered at the specified width irrespective of the parent container.
The Page plugin works with responsive, fluid and static layouts. By default for each new plugin request, the greeting dialog will be shown on desktop and mobile.
Users may click the close button to minimize the dialog or you can override the request default with your own display preferences. At times, it may be necessary to determine whether a user is engaging with your business using the Chat Plugin.
To make it easier to integrate the Chat Plugin into Wordpress sites, we offer the official Facebook Chat Plugin on wordpress. Docs Tools Support. Messenger Platform. URL Button. Call Button. Buy Button. Share Button. Log In Button. Log Out Button. Game Play Button. Text Quick Reply. User Phone Number Quick Reply. User Email Quick Reply. Location Quick Reply. Dynamic Controls of the Plugin We also provide APIs that allow you to dynamically control certain behaviors of the plugin such as opening and closing the dialog.
Setting Up the Plugin To include the Chat Plugin on your webpage, you can either use the setup tool or setup using developer steps. Option 2: Setup Using Developer Steps To include the Chat Plugin on your webpage, do the following: Whitelist the domain of your website For security reasons, the plugin will only render when loaded on a domain that you have whitelisted. Recommended Positioning We highly suggest not changing the default position of the Chat Plugin from the bottom-right corner of your page.
Customizing the Plugin. Unit will be in pixel. Greeting text will be shown beside the icon. Greeting text will not be shown. Guest Mode Starting on August 4, , people can start chatting with businesses via the Chat Plugin in guest mode without logging into their Facebook account.
We recommend that developers read this webhook and give businesses the option to treat guest users different from logged in users in designing their conversation flow. Termination webhook: when a guest user chooses to end the conversation, we will send a webhook notification to let the business know that the guest is no longer available. Future messages to that GuestID will fail and the error message No matching user found will be sent.
We recommend that developers read this webhook, notify the live agent and stop the conversation flow when a guest conversation is terminated. Guest Mode Upgrade Guest users will have the option to log in to Messenger to continue their chat with businesses.
When the user clicks on the "Continue in Messenger" button under the drop down menu.
0コメント