asp.net - Google plus API get the Activities List in C#.net librarry -
i'm using .net google plus api , want list of activities of specified profile(page/user..).
i have code online
var provider = new nativeapplicationclient(googleauthenticationserver.description); provider.clientidentifier = googleidentifier; provider.clientsecret = googlesecret; activitiesresource.collection collection = new activitiesresource.collection(); var service = new plusservice(); service.key = googlekey; activitiesresource.listrequest list = service.activities.list(profileid, collection); activityfeed activityfeed = list.fetch(); int count = activityfeed.items.count;
on line:
activityfeed activityfeed = list.fetch();
i following error:
an item same key has been added.
the requested keys invalid. put right clientsecret & clientidentifier.
Comments
Post a Comment