This project is not covered by Drupal’s security advisory policy.

Facebook Photo filter

Facebook Photo/Album Text format for Drupal

Demo: We can try the module on


  1. This module has no dependency, you can enable it like any other Drupal modules.
  2. Go to /admin/config/content/formats
  3. Apply "Facebook photo" filter to which text format we would like to support Facebook photo/album
  4. Reorder the filters, make sure FBPhoto filter processed berfore filter "Convert URLs into links"
  5. If you see extra spaces above and below the photo, it is due to the 'Convert line breaks into HTML (i.e. <br> and <p>) ' filter. Disabling the filter removes the space.


Then the filter is ready for our text. Try with:

  • Album: [fb:]
  • Photo: [fb:]
  • We may need update the CSS to make the picture display nice on current Drupal theme.


Andy Truong started the module using

  • Facebook Graph API
  • CURL library

It is currently co-maintained by Alan Lobo.


Feature request/bug reports please PR/file them on Github.

Supporting organizations: 
Started project

Project information