[Pro] Facebook Like Button - Issues

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.

Any thoughts?

Paul


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Just noticed a 2nd issue.

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.

Any ideas how to fix?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Have a partial answer to my own problem

It all relies on og:image

Which tells Facebook which image to use when its Liked. I have now set this by adding some code in the Head section of the page.

However - I’m getting the following error

“Unsafe JavaScript attempt to access frame with URL http://www.stylishweddingphotography.com/ from frame with URL Facebook. Domains, protocols and ports must match.”

I have no idea what that means - can anyone shed some light on what exactly I need to correct?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

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


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Transparency Declaration: I personally trust Facebook nearly as far as I can spit a live rat.

Walter


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options