This app demonstrates how to use the PHP Facebook API to authenticate users.
You will need your own config.php
. This can be derived from the config.sample.php
file. All dependencies are checked into this repo.
There is a working instance running on OpenShift. You can access here: https://facebook-davserve.rhcloud.com/ (but may not be able to login, because the fb-app is not published)
index.php
is the main application which does most of the actionlogout.php
does the logout processdeauth.php
is called by facebook to tell the application about deauthentificationfunctions.php
is a collection of used functionsfb-callback.php
will be called in the authentification flowschema.sql
contains the MySQL Schema
This software is licensed under the Apache License, Version 2.0