I am trying to get Contact's last updateTime info but in dotnet api it's missing. Reflected Source Class code.
So i could not use code that mentioned in this post: Get no last modified timestamp when I request google people api
I am using service.People.Connections.List method. Also this image shows installed nuget packages.
What is wrong here can anybody help? Thanks...
CodePudding user response:
The issue you are having is you are using two NuGet packages and they are clashing.
You should be using Google.Apis.PeopleService.v1 this is the library for the Google People api.
The other one is the old library (Google.Apis.People.V1.Data) for when People API was actually google plus api and it was renamed to people api. This caused a lot of problems. It was then renamed to people service.
I'm surprised you could even find it it I thought we unlisted from NuGet ages ago. I just tried searching for it and I cant find it. Could this be an old refence in your project that you have not removed?