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

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -