谷歌picasa API密钥会作为Google照片API密钥吗?

问题描述 投票:0回答:1

在3周内,Google将永久关闭Picasa API,我用它来下载客户的照片。我已经修改了我的代码以使用Google相册API,但我对迁移到它有一些担忧。是否有必要创建新的api密钥才能使用新的api(据我所知Google API密钥现在用作Picasa密钥)?是否有必要对新应用程序进行完全授权或是否可以省略? Pisaca APi是否以某种方式与照片API相关联?

picasa google-photos-api
1个回答
1
投票

Google相册库API独立于Picasa网络相册数据API。从Picasa API返回的ID,网址和其他值与Google相册库API不兼容。

您还需要向用户请求新的授权,因为Google相册库API需要与Picasa API不同的OAuth authentication scopes。例如,您需要向https://www.googleapis.com/auth/photoslibrary.readonly请求list media from the user's library范围。

© www.soinside.com 2019 - 2024. All rights reserved.