我想通过Facebook状态分享此链接(https://s3.eu-central-1.amazonaws.com/lavorotrentino/index.html)。
我面临的问题是缺少的Facebook预览应该基于index.html中的元标记信息:
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#" lang="it">
<head>
<meta http-equiv="Content-Type" content="text/html charset=utf-8" />
<link rel="canonical" href="https://s3.eu-central-1.amazonaws.com/lavorotrentino/index.html" />
<link rel="image_src" href="https://s3.eu-central-1.amazonaws.com/lavorotrentino/abc.jpg"/>
<title>Lavoro in Trentino</title>
<meta property="og:title" content="Lavoro in Trentino" />
<meta property='og:site_name' content='LIT' />
<meta property="og:description" content="Nuove opportunità pubblicate oggi sul portale dell'Agenzia del Lavoro trentina."/>
<meta property="og:type" content="article" />
<meta property="og:url" content="https://s3.eu-central-1.amazonaws.com/lavorotrentino/index.html" />
<meta property="og:image" content="http://s3.eu-central-1.amazonaws.com/lavorotrentino/abc.jpg" />
<meta property="og:image:secure_url" content="https://s3.eu-central-1.amazonaws.com/lavorotrentino/abc.jpg" />
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:width" content="400" />
<meta property="og:image:height" content="400" />
</head>
我试图用Open Graph Object Debugger找到问题,但似乎标签没问题:
Facebook对象调试器结果:
消息警告:
“ fb:app_id尚未包含在元标记中。请指定应用ID,以便将分享到Facebook的故事正确归因于该应用。或者,可以在打开共享时在网址中设置app_id对话框。否则,将分配默认的应用程序ID(966242223397117)。“
不应该仅仅是共享链接的问题。
亚马逊s3免费试用1年是否有问题?
答案 0 :(得分:0)
结果发布使用开放图表你需要一个appID。它很容易制作。
https://developers.facebook.com/docs/opengraph/getting-started#create-app