I have successfully embed a Facebook Like button to my ecommerce website. Visitors can click Like on each product and a link is posted on their facebook's profile page.
What i want is to control the visibility of the button... For ex. If the visitor does not have a facebook cookie (i'm not sure which cookie determines that the visitors is a facebook member), i don't want the Like button to appear.
Security policy of browsers will not allow you to read a cookie set by another site. This can't be done (and if there's a way, it's only a "black hat" way.) Imagine what would happen if I could read all the cookies in your browser from my web site. Well not me, but . . . yeah.