- Java 双重比较
- java - 比较器与 Apache BeanComparator
- Objective-C 完成 block 导致额外的方法调用?
- database - RESTful URI 是否应该公开数据库主键?
当您在 Google 中搜索品牌或组织时,您通常会看到这样的信息 block :
根据一些研究,我确定此信息来自 Google Knowledge Graph API。但是,如果我搜索该品牌或组织,我不会获得社交媒体信息。
此信息可能会出现在任何实体(类型为 Thing )的 url.sameAs
字段下。但是,当我查询 Google Knowedge Graph API 时,我没有收到以下信息:
GET https://kgsearch.googleapis.com/v1/entities:search?prefix=true&query=Bezeq&key={YOUR_API_KEY}
产量:
"@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
},
我也曾尝试使用 Google Places API 查找信息,但也没有。
是否可以通过 API 访问此信息?如果是这样,我在哪里以及如何访问它?
最佳答案
无法通过 API 访问社交个人资料信息(请参阅 API 响应规范 here),目前还没有迹象表明这会发生变化。
关于javascript - 通过 Google API 查找组织的公共(public)社交媒体资料,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42096405/
我正在使用passport.js 为我的node.js 应用程序提供OAuth 身份验证。但我确实有一个疑问: 当我在身份验证时收到配置文件对象(当您定义 OAuth 策略时)时,该对象对于所有提供商
我正在尝试对 wordpress 布局进行解码/逆向工程。我正在浏览 CSS 文件,无法弄清楚这个长长的菜单 mumbo-jumbo 是什么! 我不是要任何人检查代码,而是让我知道我在看什么。这些似乎
所以我尝试制作一个包含私有(private)配置文件的 symfony 项目,并且我使用 FriendsOfSymfony,但是如果我创建两个用户,每个人都可以看到其他人上传的文件。我尝试在多个网站上
我正在编写一个需要使用已登录 G+ 用户的公开个人资料图片的 JS 应用。 如果我有用户 ID,我可以使用 Google+ API 查询个人资料数据。 https://developers.googl
我看过很多关于 facebook 身份验证的帖子,要么是旧的,要么不能正常工作。 然而,最终我在我的项目中做了一些可行但不完全的东西。这是我要求的代码 var facebookAuth
我是一名优秀的程序员,十分优秀!