当前位置:网站首页>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边栏推荐
- [software reverse - basic knowledge] analysis method, assembly instruction architecture
- Is there a sudden failure on the line? How to make emergency diagnosis, troubleshooting and recovery
- Clickpaas low code platform
- speed or tempo in classical music
- 面试汇总:这是一份全面&详细的Android面试指南
- [untitled]
- Wechat applet development process (with mind map)
- 请问一下我的请求是条件更新,但在buffer中就被拦截了,这种情况我只能每次去flush缓存么?
- [wp][入门]刷弱类型题目
- Nmap使用手册学习记录
猜你喜欢

Use of vscode software

Wechat applet development process (with mind map)

error Couldn‘t find a package.json file in “你的路径“

UI自動化測試從此告別手動下載瀏覽器驅動

官宣!第三届云原生编程挑战赛正式启动!

MindFusion. Virtual Keyboard for WPF

Pyqt pyside custom telescopic menu bar sharing (including tutorial)

ABP vNext microservice architecture detailed tutorial - distributed permission framework (Part 2)

EasyCVR平台出现WebRTC协议视频播放不了是什么原因?

【软件逆向-基础知识】分析方法、汇编指令体系结构
随机推荐
Analysis of glibc strlen implementation mode
天干地支纪年法中为什么是60年一个轮回,而不是120年
[安洵杯 2019]不是文件上传
Containerd series - what is containerd?
@Transactional 注解导致跨库查询失效的问题
Analysis of dagger2 principle
Anti debugging (basic principles of debugger Design & NT NP and other anti debugging principles)
Summary of scene design
grandMA2 onPC 3.1.2.5的DMX参数摸索
DMX parameter exploration of grandma2 onpc 3.1.2.5
EasyCVR更改录像存储路径,不生成录像文件如何解决?
What is the reason why the webrtc protocol video cannot be played on the easycvr platform?
How does the applet solve the rendering layer network layer error?
About authentication services (front and back, login, registration and exit, permission management)
[wp]bmzclub几道题的writeup
优先使用对象组合,而不是类继承
Redis之Jedis如何使用
Basic function learning 02
UE4 DMX和grandMA2 onPC 3.1.2.5的操作流程
Web components series (VII) -- life cycle of custom components