I want to implement a “Login with Facebook” button. I want to add a new custom field (a username field) for users to complete on their first login. Also I need to perform validation on that field to make sure that the username isn’t taken. PHP is my language of choice.
Share
I did something very similar, but with FB’s registration plugin. Here is a pretty good tutorial from which you can probably take a cue or two : https://developers.facebook.com/docs/plugins/registration/advanced/