Google 地点评论 - profile_photo_url 字段无效
Google Places Reviews - profile_photo_url field doesn't work
是否可以显示评论者关于他在 Android 访问过的地点的个人资料照片?
我的意思是我可以根据 profile_photo_url 字段获得有效的 Http URL 吗?
如果您尝试将来自 profile_photo_url 的 URL 粘贴到浏览器中,您将收到 HTTP 404 响应。
是否有一个 API 可以将下面的 URL 转换为有效的,或者它是如何工作的?
{
"author_name": "Bogdan Rusu",
"author_url": "https:\/\/www.google.com\/maps\/contrib\/108255483707161638432\/reviews",
"language": "en",
"profile_photo_url": "https:\/\/lh6.googleusercontent.com\/-dQ5fh34ouJk\/AAAAAAAAAAI\/AAAAAAAAAAA\/ACHi3rf_188gKXMwcBh9oJI9HSzYX8Ratg\/s128-c0x00000000-cc-rp-mo-ba4\/photo.jpg",
"rating": 5,
"relative_time_description": "2 months ago",
"text": "A very beautiful monastery with a lot of history and old age. It is currently underway, or the rendition of the monasteries. I recommend the surroundings.",
"time": 1553956652
}
从 URL 中删除所有 \
。
原文:
https:\/\/lh6.googleusercontent.com\/-dQ5fh34ouJk\/AAAAAAAAAAI\/AAAAAAAAAAA\/ACHi3rf_188gKXMwcBh9oJI9HSzYX8Ratg\/s128-c0x00000000-cc-rp-mo-ba4\/photo.jpg
https://lh6.googleusercontent.com/-dQ5fh34ouJk/AAAAAAAAAAI/AAAAAAAAAAA/ACHi3rf_188gKXMwcBh9oJI9HSzYX8Ratg/s128-c0x00000000-cc-rp-mo-ba4/photo.jpg
是否可以显示评论者关于他在 Android 访问过的地点的个人资料照片?
我的意思是我可以根据 profile_photo_url 字段获得有效的 Http URL 吗?
如果您尝试将来自 profile_photo_url 的 URL 粘贴到浏览器中,您将收到 HTTP 404 响应。
是否有一个 API 可以将下面的 URL 转换为有效的,或者它是如何工作的?
{
"author_name": "Bogdan Rusu",
"author_url": "https:\/\/www.google.com\/maps\/contrib\/108255483707161638432\/reviews",
"language": "en",
"profile_photo_url": "https:\/\/lh6.googleusercontent.com\/-dQ5fh34ouJk\/AAAAAAAAAAI\/AAAAAAAAAAA\/ACHi3rf_188gKXMwcBh9oJI9HSzYX8Ratg\/s128-c0x00000000-cc-rp-mo-ba4\/photo.jpg",
"rating": 5,
"relative_time_description": "2 months ago",
"text": "A very beautiful monastery with a lot of history and old age. It is currently underway, or the rendition of the monasteries. I recommend the surroundings.",
"time": 1553956652
}
从 URL 中删除所有 \
。
原文:
https:\/\/lh6.googleusercontent.com\/-dQ5fh34ouJk\/AAAAAAAAAAI\/AAAAAAAAAAA\/ACHi3rf_188gKXMwcBh9oJI9HSzYX8Ratg\/s128-c0x00000000-cc-rp-mo-ba4\/photo.jpg
https://lh6.googleusercontent.com/-dQ5fh34ouJk/AAAAAAAAAAI/AAAAAAAAAAA/ACHi3rf_188gKXMwcBh9oJI9HSzYX8Ratg/s128-c0x00000000-cc-rp-mo-ba4/photo.jpg