• Resolved zigmas

    (@zigmas)


    Hi!
    While trying to connect the Facebook for WooCommerce v2.1.2 plugin to my Facebook account, after running through the wizard on and being redirected to the connect.woocommerce.com, I’m shown with a screen that says:

    Something went wrong when connecting to Facebook!
    Please try again.

    I already tried with different browsers, and a different machine, in case it was some cookies issue or something, but nothing seems to work. Can’t connect the Facebook account to my WooCommerce shop.

    I’m using WooCommerce Version 4.6.1.
    What can be done?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Steve

    (@skyvergesteve)

    Hey @zigmas ,

    Thanks for contacting us about Facebook for WooCommerce! I am happy to help out ??

    We have a snippet that will give us some additional error information, which may give us a better indication as to what might be happening here. Can you please add the following snippet to your site and attempt to connect to Facebook again? If you aren’t familiar with adding custom code to your site, here is some information as to how to do it. Personally, I like the free Code Snippets plugin method.

    Here is the snippet:

    add_filter( ‘wc_facebook_connection_proxy_url’, function() { return ‘https://wc-connect-test.skyverge.com/auth/facebook/’;} );

    Once the snippet is in place and you have had a chance to try to connect to Facebook again, would you please send along any additional error messages that show?

    Cheers,

    Steve
    SkyVerge

    Thread Starter zigmas

    (@zigmas)

    Hi Steve!
    Thank you very much for your help,

    I tried your snipped (I had to reformat it because I think the forum messed up the one you posted, so please double-check that my changes to it are what you intended:
    add_filter( 'wc_facebook_connection_proxy_url', function() { return 'https://wc-connect-test.skyverge.com/auth/facebook/&#8217';} );

    and when trying to make the connection the error Facebook gave me, just as I opened the Facebook page was:

    Blocked URL: This redirect failed because the redirect URI is not whitelisted in the OAuth settings of the application client. Make sure the Web client and OAuth session are enabled and add all of your application domains as valid OAuth URI redirects.

    Let me know if we are on the right track ??

    Cheers!

    Steve

    (@skyvergesteve)

    Hey @zigmas .

    Sorry about that formatting issue, it didn’t get enclosed as code and it seems that it added some extra data (the &#8217) at the end. Can you please try the following and let me know it it works for you?

    add_filter( 'wc_facebook_connection_proxy_url', function() { return 'https://wc-connect-test.skyverge.com/auth/facebook/';} );
    

    Cheers,
    Steve
    SkyVerge

    Thread Starter zigmas

    (@zigmas)

    Hello Steve!
    Ok, this time it went through the whole process on the Facebook side, then when trying to get back to the store it gave me the same something went the wrong screen, but with this error message:

    Please try again - Could not create On Behalf Of relationship -POST https://graph.facebook.com/v7.0/***************/managed_businesses?existing_client_business_id=195687251264682&access_token=EAAGvQJc4NAQBALTnZC8xFkPDFOs8McWUpdQbxk4y9zDNOSE8UZAZAOXhaEZAiwa8TjZBFZAD5TMOWZCzxWbRrhIQo1rFgUIMq5p2JbZCUPuVO9WC5VCnZAjKSJq9rpZBnETeiPLS1XyufwQJIdHZAKBn5tJbeu9qJlxVg1kZBr5rC35uoAZDZDresulted in a403 Forbiddenresponse: {"error":{"message":"(#200) Requires business_management permission to manage the object","type":"OAuthException","code":200,"fbtrace_id":"AmtdPycjjYZ7vlK_AQZvfh_"}}

    thanks!

    • This reply was modified 4 years, 1 month ago by zigmas.
    Steve

    (@skyvergesteve)

    Hey @zigmas ,

    Thanks for providing the updated error message!

    Facebook recently updated their settings to toggle “Manage your business” permission to Off by default. This needs to be set to On. Can you please go to your Facebook settings and select Business Integrations > WooCommerce Extension V2 and toggle the Manage your business setting to the On position?

    https://cloud.skyver.ge/o0umOywP

    Once this is toggled to On, can you please try to connect again?

    Cheers,
    Steve
    SkyVerge

    Thread Starter zigmas

    (@zigmas)

    That made it!
    Thank you very much, Steve!

    I think there was something weird happening inside the options in Facebook, as In the Business Integrations > WooCommerce Extension V2 the manage your bussines was already ativated. I deleted the current active one, and tried to do the connection again from my store, and ALAS! it worked! (I had to make sure to activate the manage store on the modal window)

    thanks again Steve.????

    Steve

    (@skyvergesteve)

    Hey @zigmas ,

    Excellent, thanks so much for confirming this for me! I’m going to mark this thread as “resolved” now, but if you run into any other questions or issues, please feel free to reply again to re-open it or create a follow up — we’re happy to help out. ??

    Have a great weekend!

    Cheers,
    Steve
    SkyVerge

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Facebook for WooCommerce v2.1.2 | Connect Error’ is closed to new replies.