#Check facebook login
This is a simple script to check if the user is logged into facebook or not.
The information is useful in a variety of situations.
You will need to replace xxxxxxxxx in the script with the appID for an app created for your domain.
You can make a new app here : https://developers.facebook.com/apps