• Resolved petar777

    (@petar777)


    Hello!

    I have problems with setting up Facebook for Woocommerce Plugin.

    A year ago I tried doing it and I didn’t find a way to fix it.

    Recently I started working on my website again and this time I will need the connection to work properly.

    When I click the Get Started button I get redirected to Facebook and have this message “You’ve previously linked WooCommerce Integration to Facebook
    Would you like to continue with your previous settings?”. When I continue everything seems to work fine and at the end I get this error message “Something went wrong.
    This may be because of a technical error that we’re working to get fixed. Try reloading this page.”

    Can you please give me a hand in solving this issue?
    All the best!

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

Viewing 15 replies - 1 through 15 (of 19 total)
  • Hi @petar777!

    Sorry to hear you’re encountering issues getting this set up.

    To start I’d recommend checking out this section of the Facebook for WooCommerce support docs, this error typically points to a problem with supported currencies on Facebook and can often be resolved by changing the default currency type if necessary.

    If this doesn’t resolve the issue please check for any errors logged – go to WooCommerce > Status > Logs, and look for Facebook in the dropdown, then click on View.

    Let us know what you find if needed and we’ll be happy to help further.

    Thread Starter petar777

    (@petar777)

    Hello!

    Thank you for the swift response.

    I changed the currency to USD but it still ends up at “Something went wrong. This may be because of a technical error that we’re working to get fixed. Try reloading this page.”.

    I checked the log and it says “Unable to detect valid feed configuration: No catalog ID”.

    Any suggestions on how to fix this?

    Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @petar777,

    This error can sometimes occur if there are non-ascii characters in the page title. Can you try the following steps and let me know if it helps?

    – Go to http://www.zdravital.bg/wp-admin/options.php
    – Search for wc_facebook_external_business_id
    – In the field next to it, change the data in that field to just the basic title of the page without any extra/special characters in place.
    – Scroll to the bottom of this page and click Save Changes.
    – In some cases, the data may not be saved due to larger databases and / or PHP settings, so after saving this, locate the wc_facebook_external_business_id field again and verify that the changes in place did save.

    Once this is done, can you please try to connect to Facebook again and let me know if you get any further in the connection process?`

    Thread Starter petar777

    (@petar777)

    Right now the value of the field is “Здравитал” – in cyrillic. Is it possible that this is causing the problem?

    Thread Starter petar777

    (@petar777)

    Another thing that pops in my mind is the following – I checked other fields in the options.php and I see that they contain values from 2020… Could it be a problem related to the fact that this data is already populated in these fields. If so – how can I delete all the stored data and try again with a completely fresh plugin?

    laceyrod

    (@laceyrod)

    Automattic Happiness Engineer

    Hi @petar777

    Thanks for your reply.

    > Right now the value of the field is “Здравитал” – in cyrillic. Is it possible that this is causing the problem?

    That could definitely be the cause. Can you try the following steps for us to reset the extension?

    – Take a backup of your site (Important)
    – Disconnect Facebook account from the Facebook for WooCommerce extension
    – Go to http://www.zdravital.bg/wp-admin/options.php page
    – Search for facebook and remove all the values of options that have facebook in the name
    – Save changes. This should completely reset the extension and Facebook connection.

    Can you try connecting again and making sure the page title contains ascii characters?

    Let us know how this goes!

    Thread Starter petar777

    (@petar777)

    Hello there,

    I will give it a try asap but before that I have a question – should I rename the Facebook page itself since it is in cyrillic?

    Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @petar777,

    If the page title is in Cyrillic, renaming it to something that only uses characters from a standard English keyboard might be necessary to connect to Facebook.

    Thread Starter petar777

    (@petar777)

    Hey there! I did what was stated and still had a problem. I skipped adding the instagram page connection and it connected successfully. What might be the issue with my Instagram profile?

    Shaun Kuschel a11n

    (@shaunkuschel)

    Automattic Happiness Engineer

    Hey @petar777,

    It might be related to your Instagram account, as I’ve seen this issue happen in cases where the Instagram account had not been set as a Business account and/or isn’t connected to your Facebook page. There might be other reasons as well, but that tends to be the most common issues related to Instagram.

    Thread Starter petar777

    (@petar777)

    The Instagram profile was not connected to the page in the Business Manager. However, after connecting it – the problem persists. Can we look further in this?

    Also, the product catalogue is not syncing can you help me on that as well?

    Hi @petar777,

    The Instagram profile was not connected to the page in the Business Manager. However, after connecting it – the problem persists.

    Is it a Business account or a Personal? The Instagram account has to be classified as a Business account to make it work – if it is Personal then it will produce errors. Please double check it and make sure.

    the product catalogue is not syncing can you help me on that as well?

    What error is it producing when logging is on and the catalog tries to sync? To see logs you can go to WooCommerce > Status > Logs and check the Facebook log (it will be separated by plugin type and date).

    Let us know!

    Thread Starter petar777

    (@petar777)

    Hello,

    I double checked and I can see that the Instagram account is indeed a business asset, not a personal one.

    Below I will paste the log:

    07-06-2021 @ 07:47:53 - Unable to detect valid feed configuration: No catalog ID
    07-06-2021 @ 10:37:47 - Request
    Request
    method: GET
    uri: https://graph.facebook.com/v9.0/fbe_business/fbe_installs?fbe_external_business_id=%D0%97%D0%B4%D1%80%D0%B0%D0%B2%D0%B8%D1%82%D0%B0%D0%BB
    user-agent: Facebook-for-WooCommerce/2.6.1 (WooCommerce/5.3.0; WordPress/5.7.2)
    headers: Array
    (
        [Authorization] => **************************************************************************************************************************************************************************************************************************
        [content-type] => application/json
        [accept] => application/json
    )
    body:
    duration: 0.17373s
    
    07-06-2021 @ 10:37:47 - Response
    Response
    code: 200
    message: OK
    headers: Array
    (
        [content-encoding] => gzip
        [etag] => "a53f27ce035c5b5f9c082bb1600c3d66d9846e5b"
        [content-type] => application/json
        [vary] => Array
            (
                [0] => Origin
                [1] => Accept-Encoding
            )
    
        [x-app-usage] => {"call_count":25,"total_cputime":0,"total_time":4}
        [x-fb-rlafr] => 0
        [access-control-allow-origin] => *
        [facebook-api-version] => v9.0
        [strict-transport-security] => max-age=15552000; preload
        [pragma] => no-cache
        [cache-control] => private, no-cache, no-store, must-revalidate
        [expires] => Sat, 01 Jan 2000 00:00:00 GMT
        [x-fb-request-id] => Avknci2gYCwcoJx2QOGMocv
        [x-fb-trace-id] => HbGxpvR9aY4
        [x-fb-rev] => 1004078329
        [x-fb-debug] => LBGSoBrg/MwrUMj2iMxj18A7RSxGsBcQDRkWP0xxH/OeYtAQjBYkY428gJBl5U9iOvd3f/7CVw2hKe+wrHiGig==
        [date] => Tue, 06 Jul 2021 10:37:47 GMT
        [priority] => u=3,i
        [alt-svc] => h3-29=":443"; ma=3600,h3-27=":443"; ma=3600
        [content-length] => 216
    )
    body: {"data":[{"business_manager_id":"179855246839454","commerce_merchant_settings_id":"245378186962942","onsite_eligible":false,"pixel_id":"2594642280840679","profiles":["105947674492651"],"ad_account_id":"0","catalog_id":"354588119569897","pages":["105947674492651"],"token_type":"User"}]}
    
    07-06-2021 @ 10:37:47 - Retrieving page access token
    07-06-2021 @ 10:37:48 - Request
    Request
    method: GET
    uri: https://graph.facebook.com/v9.0/fbe_business?fbe_external_business_id=%D0%97%D0%B4%D1%80%D0%B0%D0%B2%D0%B8%D1%82%D0%B0%D0%BB
    user-agent: Facebook-for-WooCommerce/2.6.1 (WooCommerce/5.3.0; WordPress/5.7.2)
    headers: Array
    (
        [Authorization] => **************************************************************************************************************************************************************************************************************************
        [content-type] => application/json
        [accept] => application/json
    )
    body:
    duration: 0.13738s
    
    07-06-2021 @ 10:37:48 - Response
    Response
    code: 200
    message: OK
    headers: Array
    (
        [content-encoding] => gzip
        [etag] => "233b2c686f8754155476a692e9060aa2f95e0271"
        [content-type] => application/json
        [vary] => Array
            (
                [0] => Origin
                [1] => Accept-Encoding
            )
    
        [x-app-usage] => {"call_count":25,"total_cputime":0,"total_time":4}
        [x-fb-rlafr] => 0
        [access-control-allow-origin] => *
        [facebook-api-version] => v9.0
        [strict-transport-security] => max-age=15552000; preload
        [pragma] => no-cache
        [cache-control] => private, no-cache, no-store, must-revalidate
        [expires] => Sat, 01 Jan 2000 00:00:00 GMT
        [x-fb-request-id] => Abry4bbMTWHvXN8IdimX9zF
        [x-fb-trace-id] => H2pBDegjI9O
        [x-fb-rev] => 1004078329
        [x-fb-debug] => A2AX8FG3OeY1pNqOdlCi/uSCMa84zRbpeBKPHQrvEVecmcP0O78/cEIe5SWKgq1nJURRlg14KeMgOqBeVVlmZg==
        [date] => Tue, 06 Jul 2021 10:37:48 GMT
        [alt-svc] => h3-29=":443"; ma=3600,h3-27=":443"; ma=3600
        [content-length] => 172
    )
    body: {"business":{"name":"\u0417\u0434\u0440\u0430\u0432\u0438\u0442\u0430\u043b"},"catalog_feed_scheduled":{"enabled":false},"ig_cta":{"enabled":false},"ig_shopping":{"enabled":false},"messenger_chat":{"enabled":false},"messenger_menu":{"enabled":false},"page_card":{"enabled":false},"page_cta":{"enabled":false},"page_post":{"enabled":false},"page_shop":{"enabled":false},"thread_intent":{"enabled":false}}
    
    07-06-2021 @ 10:37:49 - Request
    Request
    method: GET
    uri: https://graph.facebook.com/v9.0/fbe_business/fbe_installs?fbe_external_business_id=%D0%97%D0%B4%D1%80%D0%B0%D0%B2%D0%B8%D1%82%D0%B0%D0%BB
    user-agent: Facebook-for-WooCommerce/2.6.1 (WooCommerce/5.3.0; WordPress/5.7.2)
    headers: Array
    (
        [Authorization] => **************************************************************************************************************************************************************************************************************************
        [content-type] => application/json
        [accept] => application/json
    )
    body:
    duration: 0.18297s
    
    07-06-2021 @ 10:37:49 - Response
    Response
    code: 200
    message: OK
    headers: Array
    (
        [content-encoding] => gzip
        [etag] => "a53f27ce035c5b5f9c082bb1600c3d66d9846e5b"
        [content-type] => application/json
        [vary] => Array
            (
                [0] => Origin
                [1] => Accept-Encoding
            )
    
        [x-app-usage] => {"call_count":25,"total_cputime":0,"total_time":4}
        [x-fb-rlafr] => 0
        [access-control-allow-origin] => *
        [facebook-api-version] => v9.0
        [strict-transport-security] => max-age=15552000; preload
        [pragma] => no-cache
        [cache-control] => private, no-cache, no-store, must-revalidate
        [expires] => Sat, 01 Jan 2000 00:00:00 GMT
        [x-fb-request-id] => Am-FxRXsdC-_iorE-VTXezg
        [x-fb-trace-id] => BdnVd0wbMQl
        [x-fb-rev] => 1004078329
        [x-fb-debug] => YFtRy3EPGKLyEVETyObWSpRVXMslXL8AGh9GPo7XsLqDcXKP8XzCW2+IrKvjUod7Hi+s+rOsu6kDgSdwRPGplA==
        [date] => Tue, 06 Jul 2021 10:37:49 GMT
        [alt-svc] => h3-29=":443"; ma=3600,h3-27=":443"; ma=3600
        [content-length] => 216
    )
    body: {"data":[{"business_manager_id":"179855246839454","commerce_merchant_settings_id":"245378186962942","onsite_eligible":false,"pixel_id":"2594642280840679","profiles":["105947674492651"],"ad_account_id":"0","catalog_id":"354588119569897","pages":["105947674492651"],"token_type":"User"}]}
    
    07-06-2021 @ 10:37:49 - Retrieving page access token
    07-06-2021 @ 10:37:49 - Request
    Request
    method: GET
    uri: https://graph.facebook.com/v9.0/354588119569897?fields=name
    user-agent: Facebook-for-WooCommerce/2.6.1 (WooCommerce/5.3.0; WordPress/5.7.2)
    headers: Array
    (
        [Authorization] => **************************************************************************************************************************************************************************************************************************
        [content-type] => application/json
        [accept] => application/json
    )
    body:
    duration: 0.14669s
    
    07-06-2021 @ 10:37:49 - Response
    Response
    code: 200
    message: OK
    headers: Array
    (
        [content-encoding] => gzip
        [etag] => "7ad3901faa512f242ac4b76209a2c12959e41274"
        [content-type] => application/json
        [vary] => Array
            (
                [0] => Origin
                [1] => Accept-Encoding
            )
    
        [x-business-use-case-usage] => {"354588119569897":[{"type":"ads_management","call_count":0,"total_cputime":0,"total_time":0,"estimated_time_to_regain_access":0}]}
        [x-fb-rlafr] => 0
        [access-control-allow-origin] => *
        [facebook-api-version] => v9.0
        [strict-transport-security] => max-age=15552000; preload
        [pragma] => no-cache
        [cache-control] => private, no-cache, no-store, must-revalidate
        [expires] => Sat, 01 Jan 2000 00:00:00 GMT
        [x-fb-request-id] => AGGGw9jpoGgP0r6BbMLMdV8
        [x-fb-trace-id] => DL9Mn3mtp43
        [x-fb-rev] => 1004078329
        [x-fb-debug] => UJ8w1XgJdt12wqPXSvGEFPXNPrb9/uwkkQqPulrcCnpRskB827ihicw8fdSZj78oB4k6KdZMtELiUsYOyrUNvw==
        [date] => Tue, 06 Jul 2021 10:37:49 GMT
        [priority] => u=3,i
        [alt-svc] => h3-29=":443"; ma=3600,h3-27=":443"; ma=3600
        [content-length] => 110
    )
    body: {"name":"\u0417\u0434\u0440\u0430\u0432\u0438\u0442\u0430\u043b \u041f\u0440\u043e\u0434\u0443\u043a\u0442\u043e\u0432 \u041a\u0430\u0442\u0430\u043b\u043e\u0433","id":"354588119569897"}

    Hi @petar777

    Thanks for sharing those details including the log data:

    The Instagram profile was not connected to the page in the Business Manager. However, after connecting it – the problem persists. Can we look further in this?

    Also, the product catalogue is not syncing can you help me on that as well?

    When you said: the product catalogue is not syncing can you help me on that as well, do you mean it’s not connected to your Instagram catalog or to the Facebook catalog?

    Secondly about adding Instagram, I see that you have confirmed that your Instagram account is a business account, perhaps you converted this before from personal to business which is awesome!

    The Next Steps

    Not sure how you added Instagram account previously, could you please try again to do the following steps to add your Instagram account to your Facebook for WooCommerce connection through a Commerce account:

    If your Instagram account is eligible, it should work adding it.

    If you see any error notice when adding the IG account, please take the screenshot so we can know the reason.

    I recommend https://snipboard.io for sharing screenshots – please follow the instructions on the page, then paste the URL here.

    Let me know how it goes.

    Thread Starter petar777

    (@petar777)

    For the catalog – since the IG connection is not working – I am talking about the FB one. It is empty in Facebook Business Manager.

    I tried connecting and it gives me an error – https://snipboard.io/sLRygX.jpg

    If possible can we arrange an online meeting at a convenient time for you so that we can speed up this process?

Viewing 15 replies - 1 through 15 (of 19 total)

The topic ‘Can’t link plugin to Facebook’ is closed to new replies.