The Bad Behavior plugin prevents the Facebook user agent from retrieving image thumb and meta data from a Joomla article. So if someone shares a link on FB to a site that is using the plugin, then FB can display only the page title and URL, and it omits the image and the description. (Which is not very enticing to the viewing audience.)
Disabling the plugin fixes the sharing problem, but brings back too much annoying bot activity (bogus user accounts and spam).
Does anybody know how to whitelist the Facebook user agent in the Bad Behavior system plugin?
The plugin parameters include a field to whitelist IP addresses, user agents, and URLs. I've tried all 3, but I am unsuccessful so far. I suspect that I am probably using the wrong format for the user agent. I entered:facebookexternalhit/1.0 (+https://www.facebook.com/externalhit_uatext.php)
in the user agent field. Is there a better format? Or a better way for that matter?
Thanks for any advice or ideas!