mardi 10 mai 2016

Wordpress login using Facebook PHP SDK

I want to add a Facebook login to WordPress without using a plugin. I'm using Facebook's PHP SDK v5 instead of the JavaScript SDK due to my unfamiliarity with Ajax.

So far I'm able to retrieve a user's name and email from Facebook.

  • How do I use this to register a user on WordPress?
  • Is the password automatically generated by WordPress for a user registered through Facebook?
  • Once registered through Facebook, when a user tries to login through Facebook, is the email value enough to proceed with the Login process on WordPress?


via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire