og:image:url pointing to page instead of image
In
wrapper.php, there is this line of code:
PHP Code:
<meta property="og:image:url" content="<?php the_permalink(); ?>" />
The OpenGraph protocol (
http://ogp.me/) defines
og:image:url as:
og:image:url - Identical to og:image.
It defines
og:image as:
og:image -
An image URL which should represent your object within the graph.
On a single ad page,
the_permalink(); returns the URL of the page,
not of an image. For example, on the default ad's page, the meta property contains this:
HTML Code:
<meta property="og:image:url" content="http://example.com/ads/my-first-classified-ad/" />