facebook分享按钮og:url错误

时间:2012-01-02 21:09:42

标签: facebook url facebook-graph-api

我想在我正在处理的网页上添加一些“分享”按钮。即使他们都在那里,我仍然会收到“og:url”和“og:title”错误。任何帮助都会很棒。下面是网页脚本的开头。谢谢,Marc

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org    /TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>fccf pad promotion</title>
<meta property="og:title" content="FCCF Pad home"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="http://padsrockref.1sourceusa.com/fccfpad/" />
<meta property="og:description"
      content="A great way to start the new year!  Request some pads and One-Source will make a donation on your behalf to the FCCF."/>

1 个答案:

答案 0 :(得分:1)

当我转到你为og:url指定的URL(http://padsrockref.1sourceusa.com/fccfpad/)时,我得到一个302重定向到另一个页面(http://padsrockref.1sourceusa.com/PageNotFound的.html)。因此Facebook没有og元标记可以处理,因此它出错的原因。将其更新为有效的URL,我认为这将解决您的问题。