BACKGROUND: I am using Facebook Connect to gather users’ Facebook image URL (i.e. http://graph.facebook.com/111111/picture) where 111111 is each user’s Facebook ID.
OBJECTIVE: To store the image URL in a way in which the Facebook ID in the URL isn’t outwardly visible (meaning that another user won’t be able to figure out who the user is simply by right-clicking ‘copy image url’ and looking at the ID in the url)
Answer can be found here: Get redirect of a URL in Ruby