Optimize Facebook Sharing

来源:互联网 发布:阿里云 usb调试 编辑:程序博客网 时间:2024/06/07 22:04

http://support.addthis.com/customer/portal/articles/381222-optimize-facebook-sharing

To instruct Facebook what to show in a share or preview on the Newsfeed, you need to specify Facebook-compatible meta tags. Here are a list of possible tags to use, depending on what type of content you are sharing and what information you'd like to display:

<meta property="og:title" content="AddThis Tour" /> <meta property="og:description" content="Watch the AddThis Tour video." />  <meta property="og:image" content="http://i2.ytimg.com/vi/1F7DKyFt5pY/default.jpg" /> <meta property="og:video" content="http://www.youtube.com/v/1F7DKyFt5pY&fs=1" /> <meta property="og:video:width" content="560" />  <meta property="og:video:height" content="340" />  <meta property="og:video:type" content="application/x-shockwave-flash" /> 

For more information about Facebook sharing, you can check out Facebook's Open Graph Protocol.

If you need to debug how your site is shared to Facebook, please use their URL debugger. Just go tohttps://developers.facebook.com/tools/debug and enter the URL of the page you want to debug. Facebook will generate a report showing the errors you need to fix. Please note that we do not have control over how Facebook scrapes your site, so your best bet for getting issues around sharing to Facebook working is to use their debugging system.


0 0