当前位置:网站首页>Open graph protocol
Open graph protocol
2022-07-05 04:01:00 【crayon-shin-chan】
file :The Open Graph protocol
1. brief introduction
Open Graph The protocol enables any web page to become a rich object in the social graph .
This is in Facebook It is used to allow any web page to have Facebook The same function as any other object on .
2. Basic metadata
To turn a web page into a graphic object , You need to add basic metadata to the page .
This is based on RDFa The initial version of the protocol , This will place additional <meta> label .
The four required attributes of each page are :
- og:title: The title of the object should appear in the diagram , for example “The Rock”.
- og:type: Type of object , Such as “video.movie”. According to the type specified , Other attributes may be required .
- og:image: The image that should represent your object in the diagram URL.
- og:url: Object specification URL, Will be used in the drawing as its permanent ID
<html prefix="o
边栏推荐
- 基于TCP的移动端IM即时通讯开发仍然需要心跳保活
- A brief introduction to the behavior tree of unity AI
- IronXL for .NET 2022.6
- “金九银十”是找工作的最佳时期吗?那倒未必
- Why do big companies such as Baidu and Alibaba prefer to spend 25K to recruit fresh students rather than raise wages by 5K to retain old employees?
- Installation of postman and postman interceptor
- C language course setting: cinema ticket selling management system
- Redis之Jedis如何使用
- 在线文本行固定长度填充工具
- Online text line fixed length fill tool
猜你喜欢
Differences among 10 addressing modes
北京程序员的真实一天!!!!!
深度学习——LSTM基础
Some enterprise interview questions of unity interview
【web審計-源碼泄露】獲取源碼方法,利用工具
What is the reason why the webrtc protocol video cannot be played on the easycvr platform?
Web components series (VII) -- life cycle of custom components
Timing manager based on C #
[C language] address book - dynamic and static implementation
Why can't all browsers on my computer open web pages
随机推荐
ClickPaaS低代码平台
线上故障突突突?如何紧急诊断、排查与恢复
Clickhouse materialized view
About authentication services (front and back, login, registration and exit, permission management)
Clickhouse synchronization MySQL (based on materialization engine)
[wp][introduction] brush weak type questions
[brush questions] BFS topic selection
优先使用对象组合,而不是类继承
特殊版:SpreadJS v15.1 VS SpreadJS v15.0
EasyCVR平台出现WebRTC协议视频播放不了是什么原因?
Wechat applet development process (with mind map)
北京程序员的真实一天!!!!!
汇编-入门
@Transactional 注解导致跨库查询失效的问题
English essential vocabulary 3400
error Couldn‘t find a package.json file in “你的路径“
Why can't all browsers on my computer open web pages
Assembly - getting started
NEW:Devart dotConnect ADO.NET
灵魂三问:什么是接口测试,接口测试怎么玩,接口自动化测试怎么玩?