我不是在问它有什么作用,而是“它让你的 Facebook Like 按钮发挥作用”。
我要问的是,这是 javascript,还是 css,还是什么?看起来就像一个班级。如果我想编写自己的类似文件,我会使用什么扩展名来命名它?
我问的原因是我想为我自己的小部件创建自己的类,并通过放置类似 xmlns:zz="http://mydomain.com/mylibrary/zz#" 的内容来引用我自己的类
我将 og 元标签添加到我的网站中,当我打开检查器时我可以看到它们,但是当我进入 facebook 调试器时,它告诉我我缺少刚刚添加的所有标签。
该代码使用 MetaTags 包。
<MetaTags>
<title>Find Their Gifts</title>
<meta name="description" content="The personality quiz that suggests gifts based on the results" />
<meta name="keywords" content="find their gifts, gift quiz, gift personality quiz, gift finder" />
<meta property="fb:app_id" content="349573132258777" />
<meta property="og:title" content="Find Their Gifts: The Personality Quiz Gift Finder" />
<meta property="og:image" content="https://www.findtheirgifts.com/metaimage.png" />
<meta property="og:image_secure" content="https://www.findtheirgifts.com/metaimage.png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://www.findtheirgifts.com/" />
<meta property="og:description" content="The …Run Code Online (Sandbox Code Playgroud) 我将以下内容添加到首页的HTML中(从页面顶部开始):
<html xmlns:fb="http://ogp.me/ns/fb#">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="description" content="Blah-Blah-Blah This is my web site">
<meta name="keywords" content="why,does,facebook,suck,so,much">
<meta name="distribution" content="Global">
<meta name="revisit-after" content="30 days">
<meta name="rating" content="General">
<meta name="robots" content="follow,index">
<meta name="author" content="www.me-at-my-wonderful-site.com">
<meta property="og:title" content="My Title" />
<meta property="og:type" content="company" />
<meta property="og:url" content="http://www.my-company-url.com/" />
<meta property="og:image" content="http://www.my-company-url.com/images/facebook_pic.png" />
<meta property="og:site_name" content="My Company Name" />
<meta property="og:description" content="Blah-Blah-Blah" />
<meta property="fb:app_id" content="123456789012345"/>
<meta property="og:latitude" content="56.340609"/>
<meta property="og:longitude" content="-152.435136"/>
<meta property="og:street-address" content="123 1st St."/>
<meta property="og:locality" content="Seattle"/>
<meta …Run Code Online (Sandbox Code Playgroud) 我有一个应用程序,从未要求开放图表权限发布到墙上.
但现在我正在整合开放图,并意识到我需要请求publish actions.
现在,如果我将public actions权限添加到应用程序,Facebook如何从没有此烫发批准的现有用户请求它?
我按照下面的开放图元标记来显示共享缩略图。它在 Facebook 中完美运行,但在 Whatsapp 中运行不佳
<meta property="og:site_name" content="Hahaa haa">
<meta property="og:title" content="Haaha haa - Music Player" />
<meta property="og:url" content="http://13.126.57.106/aiyoapp/public/" />
<meta property="og:description" content="Haaha haa Music Player is used to share">
<meta property="og:image" itemprop="image" content="http://13.126.57.106/aiyoapp/public/images/ha_thumb.png">
<meta property="og:type" content="website" />
Run Code Online (Sandbox Code Playgroud) 工具 https://business.facebook.com/ads/microdata/debug 给了我警告
我可以使用哪个 OpenGraph 标签来解决问题?
HTML代码如
<meta property="google:product:category" content="Pet Supplies"/>
or
<meta property="google_product_category" content="Pet Supplies"/>
Run Code Online (Sandbox Code Playgroud)
对我不起作用。
facebook-graph-api google-shopping-api facebook-opengraph facebook-pixel