You have chosen to sponsor your bid up to a maximum amount of .
I need a simple, concise block of PHP code to make facebook registration / login button work with my website.
Please make a index.php -- no design or HTML, it just needs a "Signup with facebook" button.
Please use your own test server for development and testing.
If the user never signed up / authorized my web app before, then prompt user to authorize using Facebook.
I cannot provide you with my Facebook appid and Secret password, because the app is already live. You will need to use your own appid and password during testing, then remove those before sending me the script. I will insert my own appid and secret on my end.
If the user authorizes, you need to get the user's first name, last name, email, photo (if possible) and USERID from their facebook account and echo to the screen. If the user declines during the Facebook popup then please echo an error message.
if clicked the button and if user already authorized / signed up before, just echo those info to the screen (first name, last name, email, photo, userid).
I put a AUD $30 budget but this should not cost that much because the code exists already everywhere on the internet - you can almost copy and paste the code for this job.
Please bid a price and how fast you can send it to me.