Thank you for reporting this problem. I tested this using the [gallery] tag, it did not end up on facebook. Are you using some older plugins for custom shortcodes?
I’m using WordPress Video Plugin, found here:
http://wordpress.org/extend/plugins/wordpress-video-plugin/
The shortcode is [*videotype* *videocode* Hsize Vsize]
For example, to post a YouTube video, [youtube abcd1234 520 390]
Thanks for the quick response.
Unfortunately this plugin does not use the wordpress shortcode API (since wordpress 2.5) – therefore I can not know wether a given [xxx]-tag from this plugin is a real shortcode (to be removed) or not (to be preserved).
Perhaps it is a better idea to evaluate the shortcodes, filter html and post the result to facebook instead of just stripping them. I will test that tomorrow.
The bugfix will be included into the next update.
If you dont want to wait, you can apply the changes yourself:
- Open the plugin menu, select “Editor” and open “facebook-page-publish/fpp_index.php”
- Search for
strip_shortcodes
and replace it with do_shortcode
Should be fixed now (version 0.3.1). Feedback is welcome!