As the most popular social networking site, Facebook like all other communities is subject to its share of hacks. Methods on how to access peoples private photo albums have previously surfaced and I recently found out that it’s possible to find the facebook profile associated with a certain photo.
This is made possible because the photo url contains the profile id. Just paste this javascript function into the adress bar and run it and you’ll be redirected to the profile.
//Copy and paste this into the adress bar
javascript:(function(){var sp = location.href.split('/'); var f = sp[sp.length-1].split('_'); window.open("http://www.facebook.com/profile.php?id="+f[2],Math.random()); })();
If you only have the filename (e.g. 228925_10150724131690230_906175229_20014075_7377362_n.jpg) then you would have to extract the profile id manually.
It is the middle number in the filename (906175229). Extract it and insert it behind the id parameter in: http://www.facebook.com/profile.php?id=
random
May 2nd, 2011 at 7:54 pm
Since _ isn’t allowed before / and anyway Facebook isn’t changing their CDN url format anywhere, a lot easier is to use
javascript:location.href=’http://facebook.com/profile.php?id=’+location.href.split(‘_’)[2]
and for viewing original photo page (for comments, maybe?):
javascript:location.href=’http://facebook.com/photo.php?fbid=’+location.href.split(‘_’)[1]
saurabhdeb
May 17th, 2011 at 11:16 am
i am not getting my profile
MEHWISH
July 16th, 2011 at 10:35 am
CHAT ONLINE PIC ADD
Trollingstone
August 29th, 2011 at 10:28 pm
Wow this is awesome! amazing! Thank you very much.
Tina
September 28th, 2011 at 8:41 pm
apparantly I am an idiot b/c I can’t get it to do anything
valarmathi
February 6th, 2012 at 4:44 am
need the email address
binay
February 10th, 2012 at 3:54 pm
hiiiiiiiiiiiiiiiiiiiiiiiiiiii
Srany
February 13th, 2012 at 1:32 am
I have been searching exactly this thing. Thank you, sir!
paulo
February 17th, 2012 at 6:02 pm
oi
sandag
March 13th, 2012 at 8:48 am
hi
Nuar Haruha
May 4th, 2012 at 7:23 am
you can grab your facebook profile id at https://graph.facebook.com/me
or https://graph.facebook.com/username
picture
https://graph.facebook.com/userid/picture
Tjaša Arhanić
May 10th, 2012 at 9:05 pm
ad