Hack Forums
[Python] Facebook &[b]#34[/b];Stalker&[b]#34[/b]; Analyzer - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Python] Facebook &[b]#34[/b];Stalker&[b]#34[/b]; Analyzer (/showthread.php?tid=3722389)



Facebook &[b]#34[/b];Stalker&[b]#34[/b]; Analyzer - Mo1877 - Aug 29, 2013

The Facebook "Stalker" Analyzer is something I made within a few days and was something made because I was bored so theres no actual use to it. Even though there's no actual use to it I decided to still share it with you guys so you guys can mess around with it as well. If you wanna see the code and learn how to use it then Click Here. I also got some help here on the forum for a part of the code i wasnt able to figure out(thanks SkylaBlue, therussequilibrium, Catalyst and Hasdrubai)


* - Skyla Blue - Aug 29, 2013

I saw in your readme, that you couldn't figure out how to login to facebook with python yet. Take a look at this https://github.com/jgorset/facepy


* - Mo1877 - Aug 29, 2013

(Aug 29, 2013 05:22 AM)Skyla Blue Wrote:  I saw in your readme, that you couldn't figure out how to login to facebook with python yet. Take a look at this https://github.com/jgorset/facepy

Thanks but the thing is that what you showed me is to get the graph information when you replace www. with graph. in a facebook url to get their information. But the script that its using to sign in seems to be useful and same goes for the page he provided by Facebook themselves for logging in for developers.


* - ๖ۣۜAlexander - Aug 29, 2013

You can use mechanize for filling in your login info and then logging into facebook.

PHP Code

<?php 
import mechanize

br 
= mechanize.Browser()
page = br.open("http://facebook.com/")
br.select_form("login_form")
br["email"] = emailhere
br
["password"] = passwordhere
br
.submit() 



* - Mo1877 - Aug 29, 2013

(Aug 29, 2013 08:45 AM)The Ð Wrote:  You can use mechanize for filling in your login info and then logging into facebook.

PHP Code

<?php 
import mechanize

br 
= mechanize.Browser()
page = br.open("http://facebook.com/")
br.select_form("login_form")
br["email"] = emailhere
br
["password"] = passwordhere
br
.submit() 

i will most definately use that but i cant right now since i dont really have any computer at the moment that i can do for something like this and especially since im planning to continue with this


* - dberube - Aug 31, 2013

To connect to a website you can use a cookieJar object to hold the cookies and send them back with every other request you send.

I explain it in this tutorial: https://hackforums.net/showthread.php?tid=2984590


* - Mo1877 - Aug 31, 2013

(Aug 31, 2013 10:30 AM)dberube Wrote:  To connect to a website you can use a cookieJar object to hold the cookies and send them back with every other request you send.

I explain it in this tutorial: https://hackforums.net/showthread.php?tid=2984590

Thanks i'll take a look at it and see what i can do to implement it in my script