Converting Facebook Image URL From Google Image To Profile URL

Several days ago, I was searching for a solution to one of my coding problem and i found this page. The user was asking whether it is possible to convert the Facebook image URL found on Google Image into profile URL to find out who is the person is. I figured out the solution and decided to share it here for others.

Here is a simple trick to convert the image URL into profile URL.

1. Take the image URL and load it in your browser to ensure that the image is valid and working. Then copy the the last sub folder name where the image is stored. So the name that we  copy would be 516515698.


http://photos-f.ak.facebook.com/photos-ak-sf2p/v237/165/116/516515698/n516515698_449285_2520.jpg

2. Now use the template below and replace the ProfileIDHere with the folder name that you copied from the previous step.


http://www.facebook.com/profile.php?id=ProfileIDHere

3. Once replaced the URL should look something like below. Copy the url and load it in your preferred browser and you will get the profile page of the person.


http://www.facebook.com/profile.php?id=516515698

The whole process should take less than a minute and you can also write your own script to automate the process.


Tags: ,