The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Statify - FaceBook profile analysis without FaceBook's API

SYNOPSIS

        C<< my $statify= new FB::Statify('username@domain.com',"password",0); >>

DESCRIPTION

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.

Methods

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);

getFriendsList

Takes a username and returns an array of friends of this user my @friends=$statify->getFriendsList('targetUsername');

getFriendsAmount

Takes a username and returns the scalar amount of friends of this user 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');

login

Non functionnal subroutine, used only to automatize logging in for WWW::Mechanize::Firefox

LICENSE

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.

AUTHOR

ArtificialBreeze - http://github.com/ArtificialBreeze -https://metacpan.org/author/ArtificialBreeze

SEE ALSO

perlpod, perlpodspec