从 Google 个地方检索 Google 个 FID

Retrieving Google FID From Google Places

我想以编程方式检索某个 Google 地点的 Google FID。我可以成功检索到某个位置的 Place IDCID,但我似乎找不到 FID.

例如,我的企业有以下信息:

公司名称: Adob​​e - Lehi — 3900 Adob​​e Way , Lehi, UT
Google 地点 ID: ChIJ6-G_3DqAUocRw5ctKLeX2yI
Google客户ID:2511768030098069443

现在我想找到这个位置的 FID,在本例中是 0x8752803adcbfe1eb:0x22db97b7282d97c3

https://maps.googleapis.com/maps/api/place/details/json 端点没有 return FID,我不确定我还能去哪里找。

我使用 this tool 生成 FID,但我希望能够使用我自己的代码在我自己的服务器上的我自己的网站上执行此操作。我希望能够为许多企业执行此操作,因此手动方法行不通。有什么建议吗?

参考文献:

https://www.grade.us/home/labs/google-review-link-generator

How to find fid from cid in google place?

https://www.sunant.com/robots-and-rockets-blog/how-to-find-fid-version-of-google-map-maker-poi-url-from-gmm-cid-version/

https://pleper.com/index.php?do=tools&sdo=google_review_link

我认为答案就在您发布的示例 grade.us 网站中。 Google 的顶部 link 评论对话框如下所示:

http://search.google.com/local/writereview?placeid=ChIJ65TE6LocdkgRiHsKkgh7yTU

但是当点击时浏览器重定向到:

https://www.google.co.uk/search?q=Electricity+Showrooms,+39A+Hoxton+Square,+London+N1+6NN&ludocid=3875764231069137800#lrd=0x48761cbae8c494eb:0x35c97b08920a7b88,3

您会注意到逗号前的 lrd 参数是您要查找的 FID。因此,在提交 'writereview' URL.

时,使用任何你的编程语言 HTTP 请求模块来获取重定向响应