0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

Anybody know how to whitelist Facebook in Bad Behavior

  • Anybody know how to whitelist Facebook in Bad Behavior

    Posted 13 years 9 months ago
    • 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!

Time to create page: 0.074 seconds