Something went wrong when connecting to Facebook
-
Hi,
Im trying to link a website to facebook using this plugin. When going through the stages I keep hitting the Something went wrong when connecting to Facebook page. Can anyone help?
Many thanks
MattThe page I need help with: [log in to see the link]
-
I’m having the same problem. The message, “Something went wrong when connecting to Facebook! Please try again.” is totally unhelpful.
Unless making a message here is what they want us to do, in which case it is fine if they will help.
I can only wait (it is a holiday and I don’t expect a reply today) and hope there is someone who will provide some help.
Thank you.
Hi there @matthewood8 and @brucehalpern!
Thanks for reaching out for support, first of all.
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 (you can take a screenshot for example)?
I recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on the page, then paste the URLs in your reply. It works with Chrome, Firefox, Safari, and Edge.
P.S.: @brucehalpern next time please make sure to start a separate thread for any issues so we can deal with each individual case separately.
I’m looking forward to hearing from you to assist you further. Thanks!
As per: https://www.ads-software.com/support/topic/cannot-connect-to-facebook-7/ but for the lazy see below:
This issue is resolvable by enabling ‘manage business’ setting and updating my
wc_facebook_external_business_id
to<SHOPNAME>-12398943dja
<- something like this and SAVED it (its all the way at the bottom)Quote from @battouly
Resetting the external business ID and re-connecting seems to do the trick in most cases. Please try again with the following steps:
Surf to https://<your-site>/wp-admin/options.php
Search for wc_facebook_external_business_id
Update field to include only supported characters and save
best practice: storename-dfsdc3lck9k6q ← 13-digit random string (after “storename-“)
Go back to WooCommerce > Facebook and click “Get Started” againPlease make sure you toggle the “manage business” permission during the FBE process too.
Just a quick note, the snippet zdenys provides above has curly single quotes (‘). That doesn’t work right with php. I’ve changed it for my functions.php file to (‘) and I’ll post the results in a second.
- This reply was modified 4 years ago by BruceHalpern.
I just followed grabsnacs advice and got it to work. I’m not sure if the changing the wc_facebook_external_business_id was what got it to work or the “manage business” permission during the FBE process was what did it. But the “manage business” permission was necessary, because just changing the id was not enough. (I did the id change first, so I can’t say if it was really needed)
I do suggest that if “manage business” permission during the FBE process is actually required that it not be set to off by default, or that there be even an option to have it off in the first place.
My inclination with any time I’m asked to give permissions is to always pick as few as possible, as too many applications ask for permissions they actually don’t really need, because companies tend to want to get everything.
Thank you for your help.
I’m glad it’s all sorted for you. So I’m going to mark this as resolved – if you have any further questions, you can start a new thread.
@brucehalpern @zdenys My “manage my business” is stuck in the Off position and I can’t change it. Any idea how I can switch it to allow position? Thanks so much!
I don’t really know. However, I did discover that Facebook has a ton of permissions scattered all over the place. The business stuff has several different suites/hubs/managers or something tools.
Not only that, but you would think that the Facebook account that created the personal and business Facebook pages would have full permissions for everything, but no. You have to go in and give yourself permissions, as crazy as that is.
So, basically, go everywhere you can with your Facebook pages and keep checking all the Settings and go around and give yourself full permissions to do everything.
Facebook is over complicated and ridiculous. Right now I’m connected but I can’t get it to update the catalog I want, as Facebook seems to think I have more than one store and this plugin is doing the catalog on the other one. I’m going to have to go in and delete every Facebook store thing I can find and start over.
Again, every single Facebook page and business tool and manager all has different permissions in different places, with even certain items on the pages having their own permissions. And you start out, even as the creator of all of it, without having permission to change it.
- This reply was modified 4 years ago by BruceHalpern.
- This reply was modified 4 years ago by BruceHalpern.
- This reply was modified 4 years ago by BruceHalpern.
Hi zdenys,
Sorry for the delay in response.
I have tried grabsnacs advice but this hasn’t worked for me.
I have tried adding the snippet with the plugin but am receiving syntax errors. Is there a different form of the snippet I can add?
Many thanks
Matthew
- The topic ‘Something went wrong when connecting to Facebook’ is closed to new replies.