Blocks: Facebook comments

Maintained by Picture of Ankit Agarwal Ankit Agarwal
Add Facebook like and comment box to your moodle.
314 sites
20 fans

Add facebook like and comment box to your Moodle.

Please note: Due to the way Facebook plugins are designed, this plugin might have issues if the page it is displayed on is not accessible by Facebook.


  • Facebook comment box, with custom number of comments.
  • Facebook like box.
  • Facebook share button.
  • Ability to display either only comment or like box or both.
  • Display individual box for each page or a single one through out the site.
  • Ability to manage all comments posted using a Facebook app id.
  • Supports a dark and light coloured theme.


Screenshot #0
Screenshot #1
Screenshot #2


Picture of Ankit Agarwal
Ankit Agarwal (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Ankit Agarwal
    Tue, 23 Jul 2013, 11:24 AM
    Thanks for using the plugin. I am gald that the plugin is usefull for you guys.
    @phuong hoang
    Changing css of the plugin is against Facebook terms as far as I know. You can only choose between dark or light colored theme for the plugin. However if you really want it, you can always use the sdk and write a app that does it, without breaking any Facebook policies.
    @Art Lader
    I am not sure if that is possible either. It must already be linking to correct url, however am not aware of a way to force Facebook to show complete url instead of domain name in such situations. If you manage to find a way out, I would be more than happy to help you implement it.
  • Picture of romano gino
    Thu, 25 Jul 2013, 1:13 AM
    I received a warming from the plugin, but it is working well.

    Warning: is unreachable.

    It seems that can not access to the web page or do not have the permission.

    Anyway, very good plugin!
  • Picture of Ankit Agarwal
    Thu, 25 Jul 2013, 11:04 AM
    Hi Romano,
    The page Url you are using is hidden behind login, hence facebook cannot reach it. You can either allow facebook secured access based on useragent and other things, or you can use an alternate url which is public, for example the site url. You should be able to keep using the current url as well, but it is not recomended to do so.

  • Picture of Saul Fernandez
    Fri, 4 Oct 2013, 10:34 PM
    Hi every one.

    I am not developer and probably I am a bit confused and obfuscate about this matter. The pluggins ask for the API. I have been reading about it and I think that I understand it but although I put it every pluggin, none of them is working so I think it is my fault.

    Can someone give to me some extra info about it. What I did is:

    - Facebook Developer --> Create new App.
    - Facebook generates the app and it gives to me two things.
    App ID: (number)
    App Secret: (secret number)
    - I use the App ID in the config fbcomment pannel.

    Do I need to do something more? Because the only thing I achieve is to have the block but without nothing inside.

    Thanks for any help and very sorry for the troubles.
  • Picture of Ankit Agarwal
    Mon, 7 Oct 2013, 10:19 AM
    Saul, can you see the comment box or is it completely empty? if it is empty, please make sure there are no issues with internet connection. The block needs to be able to access facebook and facebook needs to be able to access the page where block is located. So you cannot use the block on site which is just on local network or has private access only.
  • Picture of alex martinez
    Fri, 31 Jan 2014, 1:05 AM
    hola Ankit Agarwal, no entiendo lo de "Facebook App id" , no se como debo crearla, aparecen muchas opciones .. .no se cual escoger.

    tampoco entiendo por que lo que escribo en el bloke no me aparece en la cuenta de facebook y lo que escribo en la cuenta de facebook no me aparece en el bloke en moodle
  • Picture of Ankit Agarwal
    Fri, 31 Jan 2014, 9:57 AM
    Hi Alex,
    Please use English to explain your problem. From what I understand you are having issues with Facebook App id field. Click on the help button in the form, that should give you a link to generate an app id. Feel free to report any further issues that you encounter, here ( and please use English to explain the problem, as I cannot understand spanish, unfortunately.
    Thanks for using the plugin.
  • Picture of Bill Steele
    Thu, 3 Apr 2014, 9:53 PM
    We are attempting to use fbcomments which appears to be an excellent block. The issue we are having is that when using the Zebra theme the text in the block is not wrapping. Is there something we can do to resolve this. We are using Moodle 2.5
  • Picture of Alexander Quesada
    Sun, 1 Mar 2015, 1:10 PM
    Hello, I just downloaded and installed this plugin. From the pictures, it looks amazing. However, I am having a problem with it. I am using the Aardvark theme and it shows only (Like, Share, and Comment Sections). It does not show the posts already on my Facebook. Also, the plugin itself is not sizing correctly, it looks too long and gets cut off. Any help is appreciated.
  • Picture of Ankit Agarwal
    Thu, 12 Mar 2015, 12:22 PM
    Thanks for using the plugins. I have received a few reports that there is a css issue with some themes. I have created for the same. I will have a look at that when I have some free time next. If some CSS expert can suggest a patch, that would be most welcome!

    Regarding Posts not showing up. What do you mean by "My facebook" ? It will show up posts/comments related to the "url" of your site/page only. Feel free to raise issues in github with detail replication instructions, for easier tracking.

  • Picture of Nikki Macfarlane
    Sun, 29 Mar 2015, 6:28 PM
    Love the plugin but cannot get it to work. I have the appid and got it to display but where i think it shoudl say "POST" ir just says "posting" and there is no way to actually post the comment. Any suggestions?
  • Picture of Mitja Decman
    Mon, 30 Mar 2015, 6:27 PM
    Hi, just testing the plugin on Moodle 2.7. Our theme (Essential) is to narrow in the right region, so the "Comment" button is not visible.
  • Picture of Goran Igaly
    Sat, 7 Nov 2015, 3:11 PM
    Will this plugin will be available for Moodle 2.9 ?
  • Picture of Nicolene Coetzee
    Sat, 28 Nov 2015, 3:13 PM

    Any idea when this plugin will be available for 2.9?

  • Picture of deva m
    Thu, 30 Aug 2018, 6:30 PM
    Hi Ankit,
    plugin seems to be cool, but i was not able to share content.. issue rises like "feature not available... try again"
1 2
Please login to post comments