So, recently I saw an error on a Facebook Page embedded in one of my blogs. The error was:
error: not a valid Facebook page URL
I attempted Google for fixes however I was unable to track down a relevant Fix. And I realized many individuals are also facing the same issue with their Facebook Page integrated on their sites and online journals. Anyway, since I was unable to track down a relevant answer for this Facebook error, I chose to investigate. And I tracked down the cause of the error and along these lines, an answer as well.
In this post, we will look at the cause of the “error: not a valid Facebook page URL ” and how to address it.
The very fact that you are getting this “error: not a valid Facebook page URL” on your site or blog indicates that you had effectively integrated or installed a Facebook page with your site or blog. So I would assume, everything was functioning admirably, not long before this error started happening.
Steps to investigate the error: “error: not a valid Facebook page URL”
a) Find where you had added the Facebook Page Plugin code:
The primary spot to start investigating this error is on your site or blog where you had pasted the code given by Facebook to install the Facebook Page. Keep in mind, back in the days when you added the Facebook Page to your blog or site, you had to create a Facebook App? Then, at that point, you had to duplicate some code from Facebook Developers to paste it into the site to get it to work? Yeah, that!
It looked something like this?
You want to find where you have pasted the code in STEP 3 as displayed in the image.
In my case, and for this example, I have executed the code in a Blogger Blog. So I had added the code in STEP 3 to a Blogger Widget/Gadget and displayed it in a sidebar. Some of you may have added the code straightforwardly in the Blogger Blog’s template. For sites, you may have added it to the HTML page codes and so forth Any place you have the code added, track down it!
b) Check the Facebook Page Plugin Code:
Since you have observed the Facebook Page Plugin Code, examine the code, especially the URL of your Facebook Page after “href”. You may have already found the piece of information to the cause of this error probably. Be that as it may, simply duplicate the URL from the code and have a go at accessing the Facebook Page. Viola? I’m certain you are receiving the message on the program – “Sorry, this page isn’t available”.
So what happened?
I don’t have some familiarity with you, however, in my case, it is because, some time ago, Facebook offered to assume I might want to assign a “Username” to my Facebook Page so it is accessible utilizing “www.facebook.com/username”. And the username assigned was unique concerning the name of the page.
Assume, the Facebook Page URL was: www.facebook.com/pagename, which is what was in the Facebook Code up until now.
And the Username assigned was: username, which means the Facebook Page is present to be accessed utilizing the URL: www.facebook.com/username.
The URL was as of now not right. So that is what changed!
c) Resolve the error-error: not a valid Facebook page URL
Thus, all you have to do now to determine the error is to go to Facebook, open your Facebook Page and get the right URL of your Facebook Page and replace the URL in the Facebook Page Plugin Code on your site or blog.
Assume the Facebook Page Plugin Code is as given beneath, then, at that point, you have to replace it in three (3) places as marked in intense red.
<div class="fb-page" data-href="https://www.facebook.com/pagename/" data-tabs="timeline" data-small-header="true" data-adapt-container-width="true" data-hide-cover="true" data-show-facepile="false"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/pagename/"><a href="https://www.facebook.com/pagename/">Facebook Page Name</a></blockquote></div></div>
That’s it. It should resolve the error.
Assuming you settled the “error: not a valid Facebook page URL” by some different strategies, do allow me also to know in the remarks underneath. Good wishes!