• Resolved lolitomon

    (@lolitomon)


    Good morning,

    Trying to setup WooCommerce Extension V2.1.3 for the first time. Like many others, it all works fine, says we’re all set then errors with Something went wrong when connecting to Facebook.

    1)in PHPMyAdmin il’d find wc_facebook_external_business_id and in option_value i deleted all characters ( and then i’ll try connected again it’s don’t work too)
    2)i deleted and reinstalled plugin ( and then i’ll try connected again it’s don’t work too)

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

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter lolitomon

    (@lolitomon)

    @julieskyverge u here?

    Thread Starter lolitomon

    (@lolitomon)

    Hi @lolitomon ,

    I apologize for the delay in replying here. We’re working on catching up with these posts now.

    There are a couple similarly worded messages, but it sounds like you’re seeing this message when you try to connect:

    Something went wrong when connecting to Facebook! Please try again.
    Link to image: https://d.pr/i/Rng2FU

    The most common is not allowing Facebook to ‘manage your business’ during the connection process. Make sure that this option is selected:

    Manage your business setting on Facebook
    Link to image: https://docs.woocommerce.com/wp-content/uploads/2020/01/Screen-Shot-2020-11-25-at-14.25.44.png

    If that’s set during the connection process, and you’re still seeing the error, add the following code snippet to your site:

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

    You can add it to your theme’s functions.php file, or use the Code Snippets plugin. This will give a more detailed error message like this:

    Detailed Facebook connection error
    Link to image: https://d.pr/i/xD8FaG

    Share that error (delete/mask the access_token information) and we can check on possible causes.

    Thread Starter lolitomon

    (@lolitomon)

    @mikestraw
    Hello Mike! I’ll fixed manage business issues and now i can select it but also have problem to connect to facebook. and then i added this code
    add_filter( ‘wc_facebook_connection_proxy_url’, function() { return ‘https://wc-connect-test.skyverge.com/auth/facebook/’; } );

    but also have this https://d.pr/i/Rng2FU don’t have this Link to image: https://d.pr/i/xD8FaG or some thing like that.

    Thread Starter lolitomon

    (@lolitomon)

    and i try activate Facebook for WooCommerce but v1.11.4 and i can connect to facebook, but if i update to v2.2.0 i can’t connect it say some thing wrong.

    Hi @lolitomon ,

    I need to clarify this part:

    > I’ll fixed manage business issues and now i can select it but also have problem to connect to facebook

    Activating that toggle during connection should fix the issue, as your connection won’t work without it. If it’s not working, then the code snippet will give more information about any other errors when you try to connect with “Manage Your Business” active.

    It also looks like the code snippet may have been off. It should look like this:

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

    But it looks like some of the characters may have been mangled, as you said you added this:

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

    I see “smart quotes” in the paste (the code has this character: ', but what you shared has and ) and &#8217 instead the final ' mark. This means the copy/paste operation on your computer may have “re-interpreted” those quotes, and the PHP language won’t understand them.

    May I ask how you added the code? The safest way may be to use the Code Snippets plugin. Make sure you set it to run always instead of one time, that all the characters match exactly, and that the snippet is activated before trying to reconnect.

    That should give a good error message that we can use to troubleshoot further.

    Hey there, since we haven’t heard back from you in awhile I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘Reconnection to facebook error’ is closed to new replies.