Statify - FaceBook profile analysis without FaceBook's API
C<< my $statify= new FB::Statify('username@domain.com',"password",0); >>
This module attempts to give the ability to conduct profile analysis over a targeted graph of friends, and , if combined with statistical and psychological tools, can possibly yield great and unexpected results. It was made in order bypass the use of FaceBook's Graph API, since it requires user interaction and user permission.
new
Returns a new FB::Statify object
_username
The FaceBook username of the scanner
_password
The password for the username
_loggedIn
Boolean flag. True if already logged in in Firefox, False if not.
genderSplit
Takes an array of friends (assuming they exist) and checks how many of them are male, female. If a gender is ambiguous or undefined, it is stored in the undefined variable. my @genders=$statify->genderSplit(\@friends);
my @genders=$statify->genderSplit(\@friends);
getFriendsList
Takes a username and returns an array of friends of this user my @friends=$statify->getFriendsList('targetUsername');
my @friends=$statify->getFriendsList('targetUsername');
getFriendsAmount
Takes a username and returns the scalar amount of friends of this user my $friends=$statify->getFriendsAmount('targetUsername');
my $friends=$statify->getFriendsAmount('targetUsername');
getLikes
Takes a username and returns the amount of likes on the user's photos as an array my @likes=$statify->getLikes('targetUsername');
my @likes=$statify->getLikes('targetUsername');
login
Non functionnal subroutine, used only to automatize logging in for WWW::Mechanize::Firefox
WWW::Mechanize::Firefox
Distributed according to GNU GPL and CPAN Terms and Conditions. You may re-use and publish the code, but you have to mention the original AUTHOR and CPAN repo. You may NOT sell this module.
ArtificialBreeze - http://github.com/ArtificialBreeze -https://metacpan.org/author/ArtificialBreeze
perlpod, perlpodspec
To install FB::Statify, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FB::Statify
CPAN shell
perl -MCPAN -e shell install FB::Statify
For more information on module installation, please visit the detailed CPAN module installation guide.