Skip to content

Instantly share code, notes, and snippets.

Avatar

Tanmay Desai tanmaydesai89

View GitHub Profile
@tanmaydesai89
tanmaydesai89 / ogfb.pl
Last active Jun 27, 2020
Vintage Facebook code sample
View ogfb.pl
my $id = $input{id};
my $user = $input{user};
my $code = $input{code};
my $course = 0;#$input{course};
my @node;my @edge;
#my $db_data = Mysql->connect("69.28.179.12", "login", "mark", $pass);
my $db_data = Mysql->connect("$cookies{host}", "$cookies{db}", "mark", $pass);
my $map;
if ($ENV{'HTTP_HOST'} =~ m/^(.*)\.thefacebook\.com/) { $map = $1;}
You can’t perform that action at this time.