Last active
August 1, 2018 20:11
-
-
Save braddalton/dbf83145a263f955d90c81023ca8cdac to your computer and use it in GitHub Desktop.
Add Facebook Customer Chat In WordPress https://wp.me/p1lTu0-hd4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Load Facebook SDK for JavaScript --> | |
<div id="fb-root"></div> | |
<script>(function(d, s, id) { | |
var js, fjs = d.getElementsByTagName(s)[0]; | |
if (d.getElementById(id)) return; | |
js = d.createElement(s); js.id = id; | |
js.src = 'https://connect.facebook.net/en_US/sdk/xfbml.customerchat.js#xfbml=1&version=v2.12&autoLogAppEvents=1'; | |
fjs.parentNode.insertBefore(js, fjs); | |
}(document, 'script', 'facebook-jssdk'));</script> | |
<!-- Your customer chat code --> | |
<div class="fb-customerchat" | |
attribution=setup_tool | |
page_id="124655154244938" | |
logged_in_greeting="Stuck! Need help finding a tutorial?" | |
logged_out_greeting="Stuck! Need help finding a tutorial?"> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment