Reputation: 2821
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)
Upvotes: 0
Views: 579
Reputation: 1677
Write a script that will download the image from FB's server, then output the image.
IE: www.yoururl.com/viewimage?id=UNIQUE_TOKEN_ASSOCIATED_WITH_FB_ACCOUNT
So when someone sees the url, they just see a unique token that maps to the FB id in your database.
Upvotes: 1