开发者

Facebook Article Problem

Ok here is the think

suppose you want to submit a link to your mates wall,

You copy/paste a link and facebook generates title, image and description.

Curently i 开发者_如何学JAVAam working on http://www.compra.gr

When you want to submit this link (http://www.compra.gr) facebook generates characters that are not recognised.

When you want to submit http://compra.gr/index.php?option=com_content&view=category&layout=blog&id=35&Itemid=54

Facebook generates title,image and description normally.

I know that facebook takes the information from metadata. I corrected the metadata, however nothing happened.

Please help me if someone has a a clue what is going on.

Thank you in advance.

PS the site has copyright protection, in order to view the source code use google chrome and at the address bar enter view-source:http://compra.gr/


I know whats the problem, your site does not have Open Graph tags!

Check out: https://developers.facebook.com/docs/opengraph/

Here's a snippet for you to understand, add this to your site and then use

URL Linter to Debug: http://developers.facebook.com/tools/lint/

Open Graph Tags Snippet:

<!doctype html>
<html xmlns:og="http://ogp.me/ns#"
      xmlns:fb="https://www.facebook.com/2008/fbml" lang="en">
<head>
  <meta charset="utf-8">
  <title>Title</title>
    <meta property="og:title" content="YOUR-POST-TITLE"/>
    <meta property="og:type" content="website"/>
    <meta property="og:url" content="http://YOUR-SITE-URL"/>
    <meta property="og:image" content="http://YOUR-IMAGE-URL"/>
    <meta property="og:site_name" content="YOUR-SITE-TITLE"/>
    <meta property="og:description" content="YOUR-DESCRIPTION"/>
    <meta property="fb:admins" content="YOUR-USER-ID"/>
</head>
.....
</html>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜