Blocks: Facebook comments

Maintained by Picture of Ankit AgarwalAnkit Agarwal
Add Facebook like and comment box to your moodle.
289 sites
25 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
    Thu, Jul 25, 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, Oct 4, 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, Oct 7, 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, Jan 31, 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, Jan 31, 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, Apr 3, 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, Mar 1, 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, Mar 12, 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, Mar 29, 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, Mar 30, 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, Nov 7, 2015, 3:11 PM
    Will this plugin will be available for Moodle 2.9 ?
  • Picture of Nicolene Coetzee
    Sat, Nov 28, 2015, 3:13 PM

    Any idea when this plugin will be available for 2.9?

  • Picture of deva m
    Thu, Aug 30, 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"
  • Picture of MD. SABBIR HOSSAIN
    Sun, Jan 26, 2020, 5:23 PM
    Good Work Ankit
    I face some problem when I share any activity or any page on Facebook, content is shared but error text message is shown. and the second things is that have there any opportunity to show some description and image or video thumbnail when I will share my any page. thanks in advance. (N:B: all permission is enabled, guest access and googles search is enabled)
  • Picture of Md. Rumman Islam Nur
    Tue, Feb 4, 2020, 1:17 PM
    what is the problem & how can i solve this
    Parameter 'href' should represent a valid URL
1 2
Please login to post comments