google-plus - 为什么 Google Places API 不显示所有照片?

标签 google-plus google-places-api google-places

当我发出类似 this 的请求时它向我展示了 1 个 photo_reference,但在 Google + 中此站点的 url 中有 12 个 photos .

如何从 Google+ 获取所有照片?

最佳答案

您必须请求“地点/详细信息”才能获取有关它的所有详细信息。 像这样。

https://maps.googleapis.com/maps/api/place/details/json?reference=Image_ref&key=YourKey

大概是lat XD,两年前就问过了。

关于google-plus - 为什么 Google Places API 不显示所有照片?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22402666/

相关文章:

post - 通过 google place API 添加地点时不断收到空响应

android - 从 JAVA 中的 Google Places 响应解析 "html_attributions"

php - 使用Google Plus API在MYSQL数据库中存储流数据

android - 如何在 Android 项目的同一个 Activity 中将 Google Plus 和 Facebook 身份验证集成在一起?

javascript - 谷歌地图中的自动完成位置抛出错误 TypeError : undefined is not a function (evaluating 'a[zG]("placeholder")')

android - 使用适用于 Android 的 google places api 网络服务搜索附近的特定地点

android - 在照片引用和 key 的帮助下使用改造库获取 body 响应中的照片

android - 在工具栏上放置自动完成搜索

google-plus - 退出时的环聊 API 事件

android - 不同 Activity android中的相同GooglePlus客户端对象