通过Google API查找组织的公共社交媒体资料

Gre*_*Ros 5 javascript google-api google-knowledge-graph

当您在Google中搜索品牌或组织时,通常会获得如下信息块:

http://image.prntscr.com/image/87ff8db6800341d690f79a40468e78b6.png

根据一些研究,我确定此信息来自Google Knowledge Graph API.但是,如果我搜索该品牌或组织,我不会获得社交媒体信息.

潜在地,此信息可以出现在url.sameAs任何实体(Thing类型)的字段下.但是,当我查询Google Knowedge Graph API时,我不会收到以下信息:

GET https://kgsearch.googleapis.com/v1/entities:search?prefix=true&query=Bezeq&key={YOUR_API_KEY}
Run Code Online (Sandbox Code Playgroud)

产量:

"@type": "EntitySearchResult",
 "result": {
  "@id": "kg:/m/01tjk8",
  "name": "Bezeq",
  "@type": [
   "Corporation",
   "Thing",
   "Organization"
  ],
  "description": "Telecommunications company",
  "image": {
   "contentUrl": "http://t0.gstatic.com/images?q=tbn:ANd9GcRybGXwH0QomTkKsrK_Klilh6Pcuj9WS0tqrO_DgBkyX6NbEsvR",
   "url": "https://he.wikipedia.org/wiki/%D7%91%D7%96%D7%A7",
   "license": "http://creativecommons.org/licenses/by-sa/4.0"
  },
  "detailedDescription": {
   "articleBody": "Bezeq is the largest telecommunications group in Israel. Bezeq and its subsidiaries offer a range of telecom services, including fixed-line, mobile telephony, high-speed Internet, transmission, and pay TV.",
   "url": "https://en.wikipedia.org/wiki/Bezeq",
   "license": "https://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License"
  },
  "url": "http://www.bezeq.co.il/"
 },
 "resultScore": 43.007484
},
Run Code Online (Sandbox Code Playgroud)

我还尝试使用Google Places API查找信息,但它也不存在.

这些信息是否可通过API访问?如果是这样,我在哪里以及如何访问它?

小智 3

社交资料信息无法通过 API 访问(请参阅此处的API 响应规范),并且尚无迹象表明这种情况会发生变化。