OneDrive / onedrive-sdk-ios

OneDrive SDK for iOS
https://dev.onedrive.com
Other
100 stars 88 forks source link

fail to get user display name #152

Closed deco1515 closed 7 years ago

deco1515 commented 7 years ago

ODClient.setMicrosoftAccountAppId("d808e948-8e94-4227-b5ec-a19222d7187b", scopes: ["wl.signin", "wl.offline_access", "onedrive.readonly", "onedrive.readwrite", "onedrive.appfolder"]) ODClient.authenticatedClient(completion: {client, error in if error == nil{ client?.drive().request().getWithCompletion({drive, error in print("---\(drive?.owner.user.displayName)") }) }

I use the code above with SWIFT, and the result is NIL. I have tested the example iOSExplorer, and get the same result.

kevklam commented 7 years ago

Please file an issue here instead: https://github.com/OneDrive/onedrive-api-docs/issues