当前位置:网站首页>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
边栏推荐
- It took two nights to get Wu Enda's machine learning course certificate from Stanford University
- How is the entered query SQL statement executed?
- How about programmers' eyesight| Daily anecdotes
- 【看完就懂系列】一文6000字教你从0到1实现接口自动化
- 测试开发是什么?为什么现在那么多公司都要招聘测试开发?
- C语言课设:影院售票管理系统
- C language course setting: cinema ticket selling management system
- How rem is used
- 灵魂三问:什么是接口测试,接口测试怎么玩,接口自动化测试怎么玩?
- What is test development? Why do so many companies hire test developers now?
猜你喜欢
Rust blockchain development - signature encryption and private key public key
Alibaba cloud ECS uses cloudfs4oss to mount OSS
【刷题】BFS题目精选
DMX parameter exploration of grandma2 onpc 3.1.2.5
EasyCVR平台出现WebRTC协议视频播放不了是什么原因?
What is the reason why the webrtc protocol video cannot be played on the easycvr platform?
UI automation test farewell to manual download of browser driver
postman和postman interceptor的安装
It took two nights to get Wu Enda's machine learning course certificate from Stanford University
[brush questions] BFS topic selection
随机推荐
[wp]bmzclub writeup of several questions
C语言课设:影院售票管理系统
Clickhouse同步mysql(基于物化引擎)
An elegant program for Euclid‘s algorithm
Deep learning - LSTM Foundation
Clickhouse materialized view
Use object composition in preference to class inheritance
Summary of scene design
Why is there a reincarnation of 60 years instead of 120 years in the tiangan dizhi chronology
天干地支纪年法中为什么是60年一个轮回,而不是120年
Use Firefox browser to quickly pick up Web image materials
DFS and BFS concepts of trees and graphs
[array]566 Reshape the matrix - simple
[安洵杯 2019]不是文件上传
函数基础学习02
About authentication services (front and back, login, registration and exit, permission management)
一文带你了解BI的前世今身与企业数字化转型的关系
Basic function learning 02
Rust区块琏开发——签名加密与私钥公钥
speed or tempo in classical music