Thomas Spring
Thomas Spring

Reputation: 9

Facebook: Object Invalid Value of type 'product' is invalid because the given value for property 'og:image:url' could not be parsed as type 'url'

I have a two sites with identical contents, but two different domains. When I try "like" the product on my site, I get the following error:

Object Invalid Value: Object at URL "http:// bla bla bla " of type 'product' is invalid because the given value '//mylink/content/pro_1228_A.png' for property 'og:image:url' could not be parsed as type 'url'.

But when I reload the page: everything works fine. Maybe anybody know what is the problem?

Upvotes: 1

Views: 648

Answers (1)

durbnpoisn
durbnpoisn

Reputation: 4669

It looks like you are trying to use a relative link. That won't work.

The value:

//mylink/content/pro_1228_A.png

Is an incomplete URL. It needs to be totally complete and able to be resolved:

http://[domain]/mylink/content/pro_1228_A.png

Upvotes: 1

Related Questions