• Resolved mahmoudmagdy

    (@mahmoudmagdy)


    hi <

    when i try to connect plugin with Facebook account this error appears “something went wrong with connecting to Facebook”

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

    (@skyvergesteve)

    Hey @mahmoudmagdy

    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.

    You can view the snippet here:

    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 a screenshot or text of any additional error messages that show?

    Cheers,

    Steve
    SkyVerge

    laurent75

    (@laurent75)

    I had the same error and by using this snippet I saw there is something wrong with auth :
    Could not create On Behalf Of relationship -POST https://graph.facebook.com/v7.0/***************/managed_businesses?existing_client_business_id=xxxxxxx&access_token=xxxxxresulted in a403 Forbiddenresponse: {"error":{"message":"(#200) Requires business_management permission to manage the object","type":"OAuthException","code":200,"fbtrace_id":"xxxxx"}}

    So I just enabled the option “manage your business” when setting up the plugin. Connection is ok now. Hope that helps.

    • This reply was modified 4 years ago by laurent75.
    Steve

    (@skyvergesteve)

    Hey @laurent75

    Thanks for sharing the solution here. This is one of a handful of solutions that we have found with this error, depending on what the snippet error shows.

    For this one, Facebook recently updated their settings to toggle “Manage your business” permission to Off by default.

    As you mentioned, this needs to be set to On. To clarify for this to any others that may see this thread, you can change this in 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

    Thanks again for sharing your solution here ??

    Cheers,

    Steve
    SkyVerge

    Steve

    (@skyvergesteve)

    Hey @mahmoudmagdy,

    It has been a while since we heard from you, so I’m going to mark this topic as resolved. If you’re still experiencing issues please take a look at our documentation for more information and create a new thread if you have further questions.

    Cheers,

    Steve
    SkyVerge

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘cant connect to facebook’ is closed to new replies.