Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/facebook/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/neo4j/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
facebook元标签don';不要使用facebook共享_Facebook_Facebook Graph Api - Fatal编程技术网

facebook元标签don';不要使用facebook共享

facebook元标签don';不要使用facebook共享,facebook,facebook-graph-api,Facebook,Facebook Graph Api,我在heads部分添加了fb元标记 <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Title of the site</title> <meta name="description" content="blah normal"> <meta property="og:title" content="Facebook

我在heads部分添加了fb元标记

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Title of the site</title>
<meta name="description" content="blah normal">
<meta property="og:title" content="Facebook Open Graph META Tags"/>

网站名称
我通过一个iFrame从Facebook开发者网站添加了一个共享按钮,上面添加了appId,并将原来的developers.Facebook.com从共享按钮改为我的网站


它可以工作,但没有正在爬网的元标记。我做错了什么?

您想共享哪个url?调试器说了什么?它说“解析输入URL时出错,没有缓存任何数据,或者没有刮取任何数据。”我还通过FB的功能看到了FB正在看到的内容,并且没有FB元标记(而不是我重定向到的真实索引文件),可能是因为我购买的域只是作为重定向器,而不是DNS到webhost重定向(我进入了一个类似www.blahblah.com/blah/index.html的域,并在域设置中选择了一个URL框架)。现在,它说“URL“”处的“网站”类型的对象无效,因为未提供“字符串”类型的必需属性“og:title”你需要在Facebook请求的页面上添加标签。因此,如果是www.blahblah.com/blah/index.html,标签需要在该页面上,它们就在该页面上!但当我点击facebooks时,“Facebook在访问该网站时看到的”只是一个基本上说“此浏览器不支持iframes,请单击此处访问www.blahblah.com/blah/index.html”我最初在那里键入了www.thisurl.com(iframes blahblah.com/blah/index.html)我不想输入原始URL。。