Bonjour, j'ai un problème, je n'arrive pas à me connecter au service Fusion 
Table. J'ai un API et un credential OAuth.

 Public Function AuthenticateServiceAccount() As FusiontablesService
        Try
            Dim scopes As String() = New String() 
{FusiontablesService.Scope.Fusiontables}


            Dim credential As GoogleCredential

            Using stream = New FileStream("client_secret.json", 
FileMode.Open, FileAccess.Read)
                credential = 
GoogleCredential.FromStream(stream).CreateScoped(scopes)
            End Using

            Return New FusiontablesService(New 
BaseClientService.Initializer() With {
                .HttpClientInitializer = credential,
                .ApplicationName = "MonApplication"
            })

        Catch ex As Exception
            Console.WriteLine("Create service account AnalyticsService 
failed" & ex.Message)
            Throw New 
Exception("CreateServiceAccountAnalyticsServiceFailed", ex)
        End Try
    End Function

Message erreur:

"Unrecognized credential type"

-- 
You received this message because you are subscribed to the Google Groups 
"[deprecated] Google Maps JavaScript API v3. Please use the latest post." group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-maps-js-api-v3+unsubscr...@googlegroups.com.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
Visit this group at https://groups.google.com/group/google-maps-js-api-v3.
For more options, visit https://groups.google.com/d/optout.

Reply via email to