This script is capable of signing into your facebook profile, and telling you who has visited your profile. Obviously you have to provide your facebook email address and password.
This script requires lxml and mechanize which can be installed with e.g. sudo pip install lxml and sudo pip install mechanize.
Alter the email address and password in the 'login.txt' file. Make sure that the formatting is as follows: emailAddress:password. After running the script a visiters.json will be created which contains many information about the visitors of your profile.
Unlicense: More informations at http://unlicense.org