Weibo Meta Tags
How to define an object type? What object types does the Like component support?
<meta property="og: type" content="object type"/>
<meta name="weibo: type" content="Object type"/>
How to define Weibo Meta Tags
//Required <meta property="og:type" content="video" /> <meta property="og:url" content=" http://video.sina.com.cn/v/b/93544804-2282043583.html " /> <meta property="og: title" content="Weibo UDC Christmas and New Year video premiere"/> <meta property="og: description" content="[Weibo UDC Christmas video premieres! - Weibo takes you to share micro happiness!] In a few hours, Christmas is coming! How are you going to spend the first Christmas after the end of the day? 2012 I want new patterns~ Make a Christmas pinhole camera!! Share micro happiness with your nearest TA!!! " /> //Optional <meta property="og:image" content=" http://ww2.sinaimg.cn/bmiddle/880538bfjw1e04w8ktfakj.jpg " /> <meta name="weibo:video:embed_code" content=" http://you.video.sina.com.cn/api/sinawebApi/outplayrefer.php/vid=93544804_2282043583_OB21THcwCDTK +l1lHz2stqkP7KQNt6nni2K2u1anIAZaQ0/XM5GQYdgD5CHWBNkEqDhATZs6cfou1xk/s.swf" /> <meta name="weibo:video:stream" content="" /> <meta name="weibo:video:duration" content="47" /> <meta name="weibo:video:create_at" content="2012-12-24 16:26:05" /> <meta name="weibo:video:update_at" content="2012-12-24 16:26:05" />
<meta property="og: type" content="type"/> <meta property="og: url" content="URL address"/> <meta property="og: title" content="title"/> <meta property="og: image" content="picture"/> <meta property="og: description" content="Description"/>
//Required <meta name ="weibo:type" content="video" /> <meta name="weibo: video: url" content="URL address of video"/> <meta name="weibo: video: title" content="Display name of video"/> <meta name="weibo: video: description" content="Text description of video"/> //Optional <meta name="weibo: video: image" content="Thumbnail display picture of video"/> <meta name="weibo: video: embed_code" content="Embedded code for video playback"/> <meta name="weibo: video: duration" content="The duration of video playback, in seconds"/> <meta name="weibo: video: stream" content="Link source of video stream"/> <meta name="weibo: video: create_at" content="User creation time"/> <meta name="weibo: video: update_at" content="User's update time"/>
//Required <meta property="og:type" content="webpage" /> <meta property="og:url" content=" http://sports.sina.com.cn/nba/2012-12-26/06576353009.shtml " /> <meta property="og: title" content="The top scorer in the Christmas game! Kobe 34+5 wrote the second strongest data in 16 years"/> <meta property="og: description" content="Kobe Bryant unexpectedly scored 34 points and became the top scorer in the history of the Christmas War. Not only that, the 34 year old god has scored 30+points in 9 consecutive games, creating the second best result in his career and moving forward to the feat of 16 consecutive games in 2003!"/> //Optional <meta property="og:image" content=" http://i2.sinaimg.cn/ty/nba/2012-12-26/U4934P6T12D6353009F1286DT20121226070232.jpg " /> <meta name="weibo:webpage:create_at" content="2012-12-26 06:57:00" /> <meta name="weibo:webpage:update_at" content="2012-12-26 06:57:00" />
Strict definition and non strict definition
weibo:video:embed_ code
weibo:embed_ code
Multi value definition of a single attribute
The image attribute defines multiple values, that is, multiple pictures <meta property="og: image" content="Sample picture 1"/> <meta property="og: image" content="Sample picture 2"/> <meta property="og: image" content="Sample picture 3"/> <meta name="weibo: web page: image" content="Picture Example 4"/> <meta name="weibo: web page: image" content="Picture Example 5"/>
Detailed attribute table of object
|
|
|
|
|
---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| ||
|
|
|
//Required <meta property="og:type" content="webpage" /> <meta property="og: url" content="Unique URL address of web page"/> <meta property="og: title" content="Page title"/> <meta property="og: description" content="Web page description"/> //Optional <meta property="og: image" content="Web page display image"/> <meta name="weibo: web page: create_at" content="Creation time of web page"/> <meta name="weibo: web page: update_at" content="Update time of web page"/>
|
|
|
|
|
---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| ||
|
|
|
//Required <meta property="og:type" content="article" /> <meta property="og: url" content="URL address of the article"/> <meta property="og: title" content="The display name and title of the article"/> <meta property="og: description" content="Text description of the article"/> //Optional <meta property="og: image" content="Display picture of article"/> <meta name="weibo: article: create_at" content="Creation time of the article"/> <meta name="weibo: article: update_at" content="The update time of the article"/>
|
|
|
|
|
---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| ||
|
|
| ||
|
|
| ||
|
|
| ||
|
|
|
//Required <meta property="og:type" content="audio" /> <meta property="og: url" content="URL address of audio landing page"/> <meta property="og: title" content="Audio display name"/> <meta property="og: description" content="Text description of audio"/> //Optional <meta property="og: image" content="Audio display picture"/> <meta name="weibo: audio: embed_code" content="HTML embedded code for audio playback"/> <meta name="weibo: audio: stream" content="Link source of audio stream"/> <meta name="weibo: audio: duration" content="The duration of audio playback, seconds"/> <meta name="weibo: audio: create_at" content="Creation time of audio"/> <meta name="weibo: audio: update_at" content="Update time of audio"/>
|
|
|
|
|
---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| ||
|
|
| ||
|
|
| ||
|
|
| ||
|
|
|
//Required <meta property="og:type" content="video" /> <meta property="og: url" content="URL address of video"/> <meta property="og: title" content="Display name of video"/> <meta property="og: description" content="Text description of video"/> //Optional <meta property="og: image" content="Video display picture"/> <meta name="weibo: video: embed_code" content="HTML embedded code for video playback"/> <meta name="weibo: video: stream" content="Link source of video stream"/> <meta name="weibo: video: duration" content="Video playback duration, seconds"/> <meta name="weibo: video: create_at" content="Creation time of video"/> <meta name="weibo: video: update_at" content="Video update time"/>
|
|
|
|
|
---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
| |
|
|
| ||
|
|
|
//Required <meta property="og:type" content="image" /> <meta property="og: url" content="URL address of image"/> <meta property="og: title" content="Display title of image"/> <meta property="og: description" content="Text description of pictures"/> //Optional <meta property="og: image" content="Thumbnail display of pictures"/> <meta property="weibo: image: full_image" content="Original large picture of the picture"/> <meta name="weibo: image: create_at" content="Creation time of picture"/> <meta name="weibo: image: update_at" content="Picture update time"/>
|
|
|
|
|
---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| ||
|
|
|
//Required <meta property="og:type" content="person" /> <meta property="og: url" content="User's URL address"/> <meta property="og: title" content="Display name of user account"/> //Optional <meta property="og: image" content="User's display avatar"/> <meta name="weibo: person: create_at" content="User creation time"/> <meta name="weibo: person: update_at" content="User's update time"/>
|
|
|
|
|
---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| ||
|
|
|
//Required <meta property="og:type" content="place" /> <meta property="og: url" content="URL address of geographical location"/> <meta property="og: title" content="Display name of geographical location"/> <meta property="weibo: place: position" content="The coordinates of geographical location, longitude+latitude+altitude, conform to ISO6709"/>
|
|
|
|
|
---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
| |
|
|
| ||
|
|
|
|
//Required <meta property="og:type" content="product" /> <meta property="og: url" content="URL address of goods"/> <meta property="og: title" content="Display name title of goods"/> <meta property="og: description" content="Text description of goods"/> //Optional <meta property="og: image" content="Product thumbnail"/> <meta name="weibo: product: full_image" content="Original large picture of goods"/> <meta name="weibo: product: create_at" content="Creation time of goods"/> <meta name="weibo: product: update_at" content="Update time of goods"/>
|
|
|
|
|
---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| ||
|
|
|
//Required <meta property="og:type" content="book" /> <meta property="og: url" content="Book URL"/> <meta property="og: title" content="Display name of the book"/> <meta property="og: description" content="Text description of the book"/> //Optional <meta property="og: image" content="Display picture of the book"/> <meta name="weibo: book: isbn" content="10 or 13 digit ISBN of the book"/> <meta name="weibo: video: create_at" content="Publication time of the book"/>
|
|
|
|
|
---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
| |
|
|
| ||
|
|
|
//Required <meta property="og:type" content="game" /> <meta property="og: url" content="URL address of the game"/> <meta property="og: title" content="Game display name title"/> <meta property="og: description" content="Text description of the game"/> //Optional <meta property="og: image" content="thumbnail of the game"/> <meta name="weibo: game: image" content="Original big picture of the game"/> <meta name="weibo: game: full_image" content="Original big picture of the game"/> <meta name="weibo: game: create_at" content="Game creation time"/> <meta name="weibo: game: update_at" content="Game update time"/>
|
|
|
|
|
---|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
| |
|
|
| ||
|
|
|
//Required <meta property="og:type" content="app" /> <meta property="og: url" content="URL address of application"/> <meta property="og: title" content="Application display name title"/> <meta property="og: description" content="Text description of application"/> //Optional <meta property="og: image" content="Applied display thumbnail"/> <meta name="weibo: app: full_image" content="Original big picture of application"/> <meta name="weibo: app: create_at" content="Creation time of application"/> <meta name="weibo: app: update_at" content="Update time of application"/>