Click here to Skip to main content
15,790,723 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am thinking about adding the Continue with Facebook button to my site but I have a few questions I need answering first before I screw up my website.

Members who login to my site basically only need a username and password also an email address.
My question are...

(1) When someone logs in from facebook do I need to add their details to my db as a newly registered member?

(2) My site only allows characters a-z A-Z 0-9 _ - in ther username, what is a facebook member uses different characters?

(3) My site does not allow spaces in the username, what if a connecting facebook member uses spaces?

(4) What is a Facebook member logs in to my site and has a name already used by one of my registered members?

(5) Usernames on my site can only be a max of 25 characters, what is a connecting facebook member has more than 25 characters in their username?

I do have other questions but can't remember than all right now. Any help would be great. Please don't send me links to read this or read that because usually none of it makes any sense to me and just wastes my day. thanks again

What I have tried:

I have not tried anything yet, I am looking for advice before I mess anything up

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900