Open
Description
Hi thanks for the contribution.
I am trying to retrieve token from OneDrive, and in 2 Google side, last step Click "latest code" which is supposed to lauch new tab saying Please push this button after set redirect_uri to 'https://script.google.com/macros/s/#####/usercallback' at your application.
, it says instead:
TypeError: Cannot find function setProp in object [object Object]. (line 3, file "GetOneDriveToken")
I am using version 4 of your library, and I pasted doGet(e))
as follows:
function doGet(e){
var prop = PropertiesService.getScriptProperties();
OnedriveApp.setProp(
prop,
"my-app-dummy-id-from-onedrive", // <--- client_id
"my-app-dummy-secret-from-onedrive" // <--- client_secret
)
return OnedriveApp.getAccesstoken(prop, e);
}
May you help me solve this? thanks
Metadata
Metadata
Assignees
Labels
No labels