Google Place Photo API返回404 [英] Google Place Photo API returning 404

查看:186
本文介绍了Google Place Photo API返回404的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Google Place Photo API将返回404以供我使用的任何照片参考。我确定我做错了什么



附近Google请求


https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=12.9716,77.5946&radius=5000&keyword=arbor&key= {KEY


$ p

BLOCKQUOTE>

CmRZAAAAu3qofo2XYSX74WtaGYIZ6iMA97uXmuJscP6xOW371WVRPpJk5ZscaxSfEYCCVgXgDzGKRC7ajN0dQ2_sECQqlO8F3YNp38VTmLDJ6LB-qMyyrn __- dnquJR_H4EUegt6EhCmHKtr_TcE_1wIAI-4fuCGGhTu9TPV6X9vQ7SgF-npEOssGdzR2A




<强>照片请求


https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&photoreference=CmRZAAAAu3qofo2XYSX74WtaGYIZ6iMA97uXmuJscP6xOW371WVRPpJk5ZscaxSfEYCCVgXgDzGKRC7ajN0dQ2_sECQqlO8F3YNp38VTmLDJ6LB-qMyyrn__-dnquJR_H4EUegt6EhCmHKtr_TcE_1wIAI- 4fuCGGhTu9TPV6X9vQ7SgF-npEOssGdzR2A& key = {KEY}


返回404.
不知道我在做什么错

解决方案

这个问题已经被Google报道过:

https://issuetracker.google.com/issues/37262562



编辑



问题现已解决

Google Place Photo API is returning 404 for any photo reference I use. I'm sure I'm doing something wrong

Nearby Google Request

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=12.9716,77.5946&radius=5000&keyword=arbor&key={KEY}

Photo Reference from Nearby Response:

CmRZAAAAu3qofo2XYSX74WtaGYIZ6iMA97uXmuJscP6xOW371WVRPpJk5ZscaxSfEYCCVgXgDzGKRC7ajN0dQ2_sECQqlO8F3YNp38VTmLDJ6LB-qMyyrn__-dnquJR_H4EUegt6EhCmHKtr_TcE_1wIAI-4fuCGGhTu9TPV6X9vQ7SgF-npEOssGdzR2A

Photo Request

https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&photoreference=CmRZAAAAu3qofo2XYSX74WtaGYIZ6iMA97uXmuJscP6xOW371WVRPpJk5ZscaxSfEYCCVgXgDzGKRC7ajN0dQ2_sECQqlO8F3YNp38VTmLDJ6LB-qMyyrn__-dnquJR_H4EUegt6EhCmHKtr_TcE_1wIAI-4fuCGGhTu9TPV6X9vQ7SgF-npEOssGdzR2A&key={KEY}

returns 404. Not sure what I am doing wrong

解决方案

The issue has been reported to Google:

https://issuetracker.google.com/issues/37262562

EDIT

The issue has now been resolved

这篇关于Google Place Photo API返回404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆