当前位置:网站首页>open graph协议
open graph协议
2022-07-05 04:00:00 【crayon-shin-chan】
1.简介
Open Graph 协议使任何网页都可以成为社交图中的丰富对象。
这在 Facebook 上用于允许任何网页具有与 Facebook 上的任何其他对象相同的功能。
2.基本元数据
要将网页变成图形对象,需要将基本元数据添加到页面。
这基于 RDFa协议的初始版本,这将在网页中放置额外的<meta>标签。
每个页面的四个必需属性是:
- og:title:对象的标题应出现在图表中,例如“The Rock”。
- og:type:对象的类型,如“video.movie”。根据指定的类型,可能还需要其他属性。
- og:image:应在图表中代表您的对象的图像 URL。
- og:url:对象的规范 URL,将在图中用作其永久 ID
<html prefix="o
边栏推荐
- 一文带你了解BI的前世今身与企业数字化转型的关系
- Differences among 10 addressing modes
- Interview byte, pass the exam and directly work on three sides. As a result, I found an architect to hang me?
- [move pictures up, down, left and right through the keyboard in JS]
- Google Chrome CSS will not update unless the cache is cleared - Google Chrome CSS doesn't update unless clear cache
- What is the reason why the webrtc protocol video cannot be played on the easycvr platform?
- Interview summary: This is a comprehensive & detailed Android interview guide
- grandMA2 onPC 3.1.2.5的DMX参数摸索
- How is the entered query SQL statement executed?
- 天干地支纪年法中为什么是60年一个轮回,而不是120年
猜你喜欢
Alibaba cloud ECS uses cloudfs4oss to mount OSS
函数基础学习02
error Couldn‘t find a package.json file in “你的路径“
一文带你了解BI的前世今身与企业数字化转型的关系
C语言课设:影院售票管理系统
UI自动化测试从此告别手动下载浏览器驱动
De debugging (set the main thread as hidden debugging to destroy the debugging Channel & debugger detection)
[安洵杯 2019]不是文件上传
[positioning in JS]
【软件逆向-分析工具】反汇编和反编译工具
随机推荐
北京程序员的真实一天!!!!!
优先使用对象组合,而不是类继承
天干地支纪年法中为什么是60年一个轮回,而不是120年
[punch in questions] integrated daily 5-question sharing (phase III)
Differences among 10 addressing modes
Redis source code analysis: redis cluster
DMX parameter exploration of grandma2 onpc 3.1.2.5
阿里云ECS使用cloudfs4oss挂载OSS
Rome链分析
【web審計-源碼泄露】獲取源碼方法,利用工具
[wp]bmzclub writeup of several questions
Laravel8 export excel file
Plasticscm enterprise crack
Rust blockchain development - signature encryption and private key public key
【软件逆向-基础知识】分析方法、汇编指令体系结构
ActiveReportsJS 3.1 VS ActiveReportsJS 3.0
函数基础学习02
English essential vocabulary 3400
Yuancosmic ecological panorama [2022 latest]
特殊版:SpreadJS v15.1 VS SpreadJS v15.0