English 中文(简体)
类似按按钮在时间线中未显示的图像
原标题:Like button image not showing in timeline

我在网站上用了一个像按钮一样的Facebook,但当我点击“类似”按钮时,我看不到我时间表中的图像。其他一切都很好。

我使用这个代码:

<meta property="og:image" content="/images/fblogo.jpg"/>

另两个标签还不错

<meta property="og:title" content="..."/>
<meta property="og:site_name" content="..."/>

我做错什么了?

问题回答

您必须提及您的图像为完全合格的路径( http://www.yourdomain.com/images/fblogo.jpg )

请确定您在 html 标签中有 prefix=" "og: http://ogp.me/ns#"

要测试 - 确保您使用 < a href=> http:// developmenters.facebook. com/ tools/ debug' rel=>facebook lint 工具 , 这样您就可以击败Facebook的缓存。 它还可以告诉您您何时有无效的标签和错误的标签值 。

In got the same error, and solver it by adding property="og:description" to the meta description tag, this solved my problem but I don´t know if Google likes it....





相关问题
C# Building An Array with Button Entries

I have a set of buttons that I want to add into an array so that they are ordered. The buttons I have are: Monday0700Button Monday0730Button Monday0800Button Monday0830Button and so on. How do I ...

Text in disabled and css styled button shows movement in IE

I have disabled and css styled buttons. In Firefox, disabled buttons do not move at all when pressed (which is what is expected), in IE, the text in the buttons still moves a few pixels. Why does ...

Where is Button.DialogResult in WPF?

In System.Windows.Forms.Button there is a property DialogResult, where is this property in the System.Windows.Controls.Button (WPF)?

How to create a submit button template in Oracle APEX?

I m trying to create a template for a button in Oracle APEX but I don t seem to have access to the appropriate substitution strings to make it work. For non-templated buttons APEX seems to insert a ...

Removing text from HTML buttons on all browsers?

We have buttons of many sizes and colors that use background images. There is a label on the background image itself, but we need to keep the button s text in the HTML for usability/accessibility. How ...

Back button loop with IFRAMES

In my (school) website we use Iframes to display class blogs (on blogger). This works well EXCEPT if the user then clicks on (say) a photo inside the iframe. Blogger (in this case) then displays the ...

ruby on rails on click events

I am so sorry if this question seems too easy but I can t seem to find it anywhere. I am creating a ruby in steel project. I have created a html.erb and rb file in a vs project (ruby on rails). My ...

热门标签