Facebook共享:使用og:url时错误的共享数据

时间:2014-03-19 21:07:35

标签: php facebook facebook-graph-api

我尝试在Facebook上分享一些文章(不创建fb社交应用程序)。

我向https://www.facebook.com/sharer/sharer.php提供的文件标题如下:

<meta property="og:type" content="article" />
<!meta property="og:url" content="url to some website" />
<meta property="og:title" content="Title" />
<meta property="og:image" content="url to image" />
<meta property="og:description" content="some description" />

问题是 - 每次我尝试设置og:url,title,image和description从&#34; url赶到某个网站&#34;并抑制我在这里明确键入的值!另外og:类型属性更改来自&#34;文章&#34;到&#34;网站&#34;。

如何解决此问题?我是否需要为此创建fb社交应用程序?

1 个答案:

答案 0 :(得分:1)

我不确切地知道你想要什么,但是og:url基本上忽略了你给标题的任何其他参数。

你最好检查一下:) https://developers.facebook.com/docs/plugins/share-button

相关问题