In my signup form there is an input field that gets user’s facebook ID, I just want to verify if its correct before signing up the user.
2 comments
Comments are closed.
In my signup form there is an input field that gets user’s facebook ID, I just want to verify if its correct before signing up the user.
Comments are closed.
When user logs in using this FB button. Its session is generated. So I can use PHP API to get any information I want.
I put this code in html body
PHP Side Code
You can do something like this,
before signup test via ajax that is fb id exist and if reponse is +ve than process signup else show him message ‘wrong fb id’.
ajax fx may be