I am creating an application which can insert files into Google Drive and lists it. I am using Google Drive API. But my problem is that for some accounts it is not listing all files in my application. but for many account it shows all files perfectly
so i am no clear that what is the issue is it permission issue or another?
if in google drive folder i have set share setting with public then only it shows all folder
I have used below scope
I have used below scope........ var googlePlusOptions = new GoogleOAuth2AuthenticationOptions { ClientId = "", ClientSecret = "" };googlePlusOptions.Scope.Add("openid"); googlePlusOptions.Scope.Add("profile"); googlePlusOptions.Scope.Add("email"); googlePlusOptions.Scope.Add(DriveService.Scope.Drive); googlePlusOptions.Scope.Add(DriveService.Scope.DriveAppdata); googlePlusOptions.Scope.Add(DriveService.Scope.DriveAppsReadonly); googlePlusOptions.Scope.Add(DriveService.Scope.DriveFile); googlePlusOptions.Scope.Add(DriveService.Scope.DriveMetadataReadonly); googlePlusOptions.Scope.Add(DriveService.Scope.DriveReadonly); googlePlusOptions.Scope.Add(DriveService.Scope.DriveScripts); googlePlusOptions.Scope.Add(DriveService.Scope.DrivePhotosReadonly);