0

任何人都知道如何获取“Book”facebook 图形对象的 isbn 属性?

从图形资源管理器中,id 为 107965322564266 的图形对象的节点(它是书页)返回除作者和 ISBN 之外的可能信息

{
   "name": "Good to Great", 
   "is_published": true, 
   "is_community_page": true, 
   "description": "Good to Great: Why Some Companies Make the Leap... and Others Don't is:", 
   "release_date": "October 16, 2001", 
   "talking_about_count": 201, 
   "category": "Book", 
   "id": "107965322564266", 
   "link": "https://www.facebook.com/pages/Good-to-Great/107965322564266", 
   "likes": 71468
 }
4

1 回答 1

1

那不是 book 对象,而是 FB Page id("is_community_page": true"link"contains facebook.com/pages/)。

这是书籍对象的示例,它是由 Goodreads 创建的自定义 Open Graph 对象:

http://www.goodreads.com/book/show/905.The_Inner_Game_of_Tennis

看一下页面源/og:标签:

<meta property="og:title" content="The Inner Game of Tennis"/>
<meta property="og:image" content="http://photo.goodreads.com/books/1320565180msq/905.jpg"/>
<meta property="good_reads:isbn" content="0679778314">
<meta property="good_reads:page_num" content="134">

所以接下来要做的是找到一个特定的 og 书籍对象(你没有说你在哪里/如何采购所有书籍)并检查 og 标签。

于 2012-11-02T17:41:59.200 回答