Skip to main content
All CollectionsVideo SettingsPre-recorded & Embeds
Embedding Facebook or Disqus Custom Comments
Embedding Facebook or Disqus Custom Comments
Benjamin Dell avatar
Written by Benjamin Dell
Updated over a week ago

You've added features from Facebook or Disqus to your site, and want to test and ensure that your embed code is fully functional - follow the steps below to verify everything is working as it should. Make sure you've got accounts with them!
โ€‹
N.B. This integration is only available for our Business/Success plan owners.

  1. Head to Event Setup > Integrations.

  2. Under Custom Comments, click Configure.

  3. Add the code to the box labelled Custom Comments Code (pictured below).

Here are the codes you can input for testing embedding:

Facebook code:

<div id="fb-root"></div>
<script async defer crossorigin="anonymous" src="https://connect.facebook.net/es_LA/sdk.js#xfbml=1&version=v5.0&appId=YOUR_APP_ID"></script>
<div class="fb-comments" data-href="##{{ current_url }}" data-width="600" data-numposts="5"></div>

Disqus code:

<div id="disqus_thread"></div>
<script>
   var disqus_config = function () {
       this.page.url = "##{{ current_url }}";  
       this.page.identifier = this.page.url; 
   };
   (function() { 
       var d = document, s = d.createElement('script');
       s.src = 'https://EXAMPLE.disqus.com/embed.js';
       s.setAttribute('data-timestamp', +new Date());
       (d.head || d.body).appendChild(s);
   })();
</script>

The "EXAMPLE" in this case would be your Disqus username, so if I had an account under the username heysummit, it would read

https://heysummit.disqus.com/embed.js
Did this answer your question?