I have facebook like on my mediawiki site and when I run it through the debugger http://developers.facebook.com/tools/debug I get the errors:
Admins And App ID Missing fb:admins and fb:app_id tags are missing. These tags are necessary for Facebook to render a News Feed story that generates a high clickthrough rate.
Like Button Tag Missing og:title is missing. The og:title meta tag is necessary for Facebook to render a News Feed story that generates a high clickthrough rate.
Like Button Tag Missing og:type is missing. The og:type meta tag is necessary for Facebook to render a News Feed story that generates a high clickthrough rate.
Like Button Tag Missing og:image is missing. The og:image meta tag is necessary for Facebook to render a News Feed story that generates a high clickthrough rate.
It also posts it as a 'recent activity' not a post with the image. How do I solve this?
The "og:" tags must be in the head element of the HTML page that the like button refers to (usually the page the button is on). The Facebook debugger is telling you that they are not there. They should look like this:
<head>
<meta property="og:title" content="My web page title" />
<meta property="og:type" content="website" />
<meta property="og:image" content="http://exmaple.com/image.jpg" />
<meta property="og:url" content="http://example.com/" />
<meta property="og:site_name" content="My site name" />
<meta property="og:description" content="This site is awesome!" />
<meta property="fb:app_id" content="YOUR_APP_ID" />
</head>
You can use EITHER the fb:app_id or fb:admins, but not both.
I don't understand this, "It also posts it as a 'recent activity' not a post with the image. How do I solve this?" When the Like button is clicked a post is added to the user's timeline and the post may be visible to their friends depending on how they have configured privacy.