Facebook-for-woocommerce: Wrong Facebook account : How to Remove the existing settings data (page, etc.) from the DB?

Created on 31 Oct 2017  路  3Comments  路  Source: facebookincubator/facebook-for-woocommerce

Hi,

I would like to use Facebook for Woocommerce for a Facebook Store. I have an old installation that is linked to a wrong Facebook account. How do I change this, when I do not have access to the account associated with the installation? I have tried to delete the plugin and install again, but it did not help.

Hope you can help.

question

Most helpful comment

Hello,

Thanks for writing in. I think we have a resolution for you, though it's a bit hacky.
You basically need to wipe the info from the current installation from the Wordpress DB, this can be done manually by accessing the DB, but we have luckily built a JS function that you should be able to call from the JS console to do it. Here are the steps:

  1. Navigate to the Facebook for WooCommerce settings page.
  2. Open the Javascript console (Typically Shift + Ctrl + J on Chrome)
  3. Type this command delete_all_settings(); and hit Enter.

If you have the most recent version, this should reset all the FB info from the DB and you can set up again using whatever account you like. I verified the steps on our test server just now and it works for us, let us know if that works for you.

All 3 comments

Hello,

Thanks for writing in. I think we have a resolution for you, though it's a bit hacky.
You basically need to wipe the info from the current installation from the Wordpress DB, this can be done manually by accessing the DB, but we have luckily built a JS function that you should be able to call from the JS console to do it. Here are the steps:

  1. Navigate to the Facebook for WooCommerce settings page.
  2. Open the Javascript console (Typically Shift + Ctrl + J on Chrome)
  3. Type this command delete_all_settings(); and hit Enter.

If you have the most recent version, this should reset all the FB info from the DB and you can set up again using whatever account you like. I verified the steps on our test server just now and it works for us, let us know if that works for you.

Hi Dmitri,

Thank you very much! It worked perfectly

Mvh.

Mathias Larsen

Telefon: 26700377

Arnold Nielsens Boulevard 72

2650 Hvidovre

www.online-marketing.dk

Fra: Dmitri Dranishnikov notifications@github.com
Svar til: facebookincubator/facebook-for-woocommerce reply@reply.github.com
Dato: fredag den 3. november 2017 kl. 00.20
Til: facebookincubator/facebook-for-woocommerce facebook-for-woocommerce@noreply.github.com
Cc: HaardengMarketing mathias@haardeng-marketing.dk, Author author@noreply.github.com
Emne: Re: [facebookincubator/facebook-for-woocommerce] Wrong Facebook account (#128)

delete_all_settings();

Is there a script for deleting only Facebook Pixel assignment ?

Was this page helpful?
0 / 5 - 0 ratings