This project is not covered by Drupal’s security advisory policy.
Facebook Photo/Album Text format for Drupal
Demo: We can try the module on simplytest.me.
Install
- This module has no dependency, you can enable it like any other Drupal modules.
- Go to /admin/config/content/formats
- Apply "Facebook photo" filter to which text format we would like to support Facebook photo/album
- Reorder the filters, make sure FBPhoto filter processed berfore filter "Convert URLs into links"
- 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.
Usage
Then the filter is ready for our text. Try with:
- Album:
[fb:https://www.facebook.com/media/set/?set=a.380743478891.164254.8427738891&type=3] - Photo:
[fb:https://www.facebook.com/8427738891/photos/a.380743478891.164254.8427738891/380744538891/] - We may need update the CSS to make the picture display nice on current Drupal theme.
Credits
Andy Truong started the module using
- Facebook Graph API
- CURL library
It is currently co-maintained by Alan Lobo.
Contribute
Feature request/bug reports please PR/file them on Github.
Supporting organizations:
Started project
Project information
- Project categories: Content editing experience
5 sites report using this module
- Created by thehong on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.




