Please help me regarding this issue , if you goto
https://graph.facebook.com/BillGates/picture?type=large
it will redirect to following link:
https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xfa1/t1.0-1/c10.10.130.130/181592_10150105700371961_7986881_n.jpg
how can i write a function that get first link as input and echo second link as output ?