Msg#: 4152234 posted 8:40 am on Jun 14, 2010 (gmt 0)
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.
Msg#: 4152234 posted 4:45 pm on Jun 14, 2010 (gmt 0)
If the visitor does not have a facebook cookie
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.