Solution conflict WP Better Security & Add Link to Facebook plugin

License Public Domain CC0 - Photo weinstock

Recently I installed the WordPress plugin WP Better Security. This plugin has a high popularity. I have also installed the Add link to Facebook plugin and I saw that the posts were not submitted anymore to Facebook automatically.

WP Better Security

In the WP Better Security plugin there is an option to change the ID of the admin to another value than the default "1".


Add Link to Facebook

In the same time when entering your Add link to Facebook settings this nasty message shows up.


How to solve this

What you need is access to the PHPMyAdmin function of the database. Most of the time you can access this from the admin panel given by your provider. Then perform the following steps:

  1. Browse the <prefix>_users table for the admin user. It is possible that you also changed the default "admin" to something else in the WP Better Security Settings.
  2. Write down or remember the value in the ID field.
  3. Browse the <prefix>_options table and search for the record with al2fb_app_share in the field option_name.
  4. Change the value in option_value from ‘1’ to the value you wrote down in step 2.
  5. Save the record

Now everything should be working fine again. Check any posts that you have published before changing this and after you installed the WP Better Security plugin, for these are not published on Facebook.

How to publish afterwards on Facebook

Simply edit the post, put it on "draft", save it and then immediately publish it again.

Johan van de Merwe
Dedicated to professional software development since 1985. Has worked since 1992 as IT manager in several international operating companies. Since 2007 CEO and Sencha Ext JS web application developer at Enovision GmbH.

Leave a Reply