In this example, the PHP script that generates the login link is called /login.php . The callback URL that Facebook redirects the user to after login dialog is called .