문제

Can someone help me figure out how to get the content of a Google Document selected from Google Picker. In the earlier version of Google Picker, there was an "accessToken" concept with which we can download the document content but as the support to "accessToken" is removed(no accessToken param in the response json string) for Google Docs documents in Picker how can this be achieved now??. How do the authentication flow works now??

By the way, when will the new documentation for Google Picker be ready so that we'll have a clear idea on how the flow works?

도움이 되었습니까?

해결책

The new flow has been documented by the Google Drive team. The documentation is here: https://developers.google.com/drive/integrate-open.

Instead of getting a token for each document, you need only to get one appropriately scoped AppID from the Google API Console. See: https://developers.google.com/console/help/

Once you have an ID, associate this to the Picker instance with the setAppId method. Voilà!

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top