我正在从事一个需要自动化 SSIS 包的项目 通过 API 连接到 SurveyMonkey 数据存储以增量下载调查 自定义报告和低分任务分配的当天或指定时间段的结果。
通过 OAuth,我可以收集长期存在的访问 token ,但由于自动化 以及我的项目生命周期的无限性质,我无法手动启动 OAuth2 token 刷新或完成手动重新身份验证周期。
是否有另一种方法可以按计划自动导出此数据 要求?
此外,为了澄清长期访问 token 的时长 有效的? 60 天?
最佳答案
来自 surveymonkey.com 支持的 Miles 给了我一个很好的答案。我希望它可以帮助下线的人。
Hi Rob,
Currently our tokens should not expire - this is not guaranteed and may change in future, but we will send out an update well ahead of time if this does ever change. The token you receive on completion of OAuth lets you know how long the token will last for without user intervention, currently it returns 'null' in the 'expires_in' field.
There is no other automated way to schedule the data to be exported currently, however it sounds like our current setup should suit your needs
关于oauth-2.0 - SurveyMonkey 长期访问 token 生命周期,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19963090/