How to integrate Facebook into WordPress registration/login?

Here’s what we hope to accomplish: a WordPress site that will allow users to register/login EITHER with Facebook OR WordPress and have the same access to posts/pages/content. From all the research thus far, this doesn’t seem trivial… Here’s our requirements: User Registration Facebook New users can connect with Facebook by clicking a button and then … Read more

Facebook OAuth “The domain of this URL isn’t included in the app’s domain”

This usually happens if you have entered the wrong details when you created the App in Facebook. Or have you changed a URL’s of an existing App? Can you please recheck the settings of your APP in this page? https://developers.facebook.com/apps Select the correct App and click in the edit button; Check the URLs & paths … Read more

When do I need a fb:app_id or fb:admins?

The doc for the facebook like button says , “When your Web page represents a real-world entity, things like movies, sports teams, celebrities, and restaurants, use the Open Graph protocol to specify information about the entity.” I’m adding like buttons to a blog posts/videos/articles which aren’t really entities. Right? So I don’t need fb:app_id or … Read more

When do I need a fb:app_id or fb:admins?

The doc for the facebook like button says , “When your Web page represents a real-world entity, things like movies, sports teams, celebrities, and restaurants, use the Open Graph protocol to specify information about the entity.” I’m adding like buttons to a blog posts/videos/articles which aren’t really entities. Right? So I don’t need fb:app_id or … Read more

“Uncaught (in promise) undefined” error when using with=location in Facebook Graph API query

The error tells you that there is an error but you don´t catch it. This is how you can catch it: You can also just put a console.log(reponse) at the beginning of your API callback function, there is definitely an error message from the Graph API in it. More information: https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Promise/catch Or with async/await: