Hi there,
I manually added facebook comments in forum posts and they worked like a charm. However, facebook comments suddenly disappeared in forum posts a few days ago. Weirdly fb comments still work in course view.
In the past
Now
In course view [course summary]
- I took my question to fb developers but no luck.
* Here's the way I add
- Visit https://developers.facebook.com/docs/plugins/comments
- Copy and paste my url
- Get code;
+ copy and paste Javascript SDK in additional html
<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/vi_VN/sdk.js#xfbml=1&version=v3.2&appId=313931345356848'; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
+ place the code in forum post
<div class="fb-comments" data-href="https://thaytro.net/mod/forum/discuss.php?d=879" data-numposts="5"></div>
+ I don't know why I place this code in forum post and save and then it automatically turns into <div class="fb-comments"</div> yet it still worked in the past but stops working now.
+ I'm using moodle 3.5.2+