I’ve just added a Facebook Like Button, using the preset in Freeway. Works well. But a couple of issues. Firstly, it liked the page - but in Facebook, it showed the Liked page as a different one to the one it was on. A different site in fact (one of my other sites, hosted by the same provider). I got over this problem by forcing it to Like the correct page, using the Actions palette options. It now likes the correct homepage.
Next problem is more obscure. My friend has liked the page - however, next to his Like on the FB page it has got an image of the Twitter icon. Not an image of the webpage - which is what I would normally expect to happen. There is a Twitter icon on the page in question, in fact its next to the Like button, but how can I stop it bringing up that image in people’s Facebook? So that it correctly displays our web page image instead.
Using good old Internet Explorer on a PC. The FB button has a white background. Not the grey that I’ve told it to have. Seems to work fine in other browsers - but not IE.
This is caused by the Same Origin Policy restriction in JavaScript. There’s nothing to correct, because it’s actually a good thing (keeping naughty sites like Facebook from crossing over the line that separates privacy from wanton disregard for personal information). After all, it’s a very short trip from there to “unsafe JavaScript attempt to access frame with URL http://www.example.com from URL http://l33thak0rz.net” and we all agree that’s bad, correct?
Walter
On Jan 6, 2012, at 8:32 AM, Paul Tansley wrote:
However - I’m getting the following error
"Unsafe JavaScript attempt to access frame with URL