Facebook like page that is behind login
===

I have a lot of images on a page, and for each image I have a facebook like button. This page is behind login (you have to be logged in to view it). Facebook is sharing the link to the root page, becouse I redirect every page behind login to the root page. How can I fix this, to share the link to that page ?

Thanks