This is an example of a login using Facebook's API. ALl you have to do is upload the file to your server,