Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7770589
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T16:26:40+00:00 2026-06-01T16:26:40+00:00

Using C# , I want to read the Shares , Comments and Likes of

  • 0

Using C# , I want to read the Shares , Comments and Likes of a Google + post like this https://plus.google.com/107200121064812799857/posts/GkyGQPLi6KD

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T16:26:41+00:00Added an answer on June 1, 2026 at 4:26 pm

    That post is an activity. This page includes infomation on how to get infomation about activities. This page gives some examples of using the API. This page has downloads for the Google API .NET library, which you can use to access the Google+ APIs, with XML documentation etc.

    You’ll need to use the API Console to get an API key and manage your API usage.

    Also take a look at the API Explorer.

    Here’s a working example:


    Referencing Google.Apis.dll and Google.Apis.Plus.v1.dll

            PlusService plus = new PlusService();
            plus.Key = "YOURAPIKEYGOESHERE";
            ActivitiesResource ar = new ActivitiesResource(plus);
            ActivitiesResource.Collection collection = new ActivitiesResource.Collection();
    
            //107... is the poster's id
            ActivitiesResource.ListRequest list = ar.List("107200121064812799857", collection); 
            ActivityFeed feed = list.Fetch();
    
            //You'll obviously want to use a _much_ better way to get
            // the activity id, but you aren't normally searching for a
            // specific URL like this.
            string activityKey = "";
            foreach (var a in feed.Items)
                if (a.Url == "https://plus.google.com/107200121064812799857/posts/GkyGQPLi6KD")
                {
                    activityKey = a.Id;
                    break;
                }
    
            ActivitiesResource.GetRequest get = ar.Get(activityKey);
            Activity act = get.Fetch();
            Console.WriteLine("Title: "+act.Title);
            Console.WriteLine("URL:"+act.Url);
            Console.WriteLine("Published:"+act.Published);
            Console.WriteLine("By:"+act.Actor.DisplayName);
            Console.WriteLine("Annotation:"+act.Annotation);
            Console.WriteLine("Content:"+act.Object.Content);
            Console.WriteLine("Type:"+act.Object.ObjectType);
            Console.WriteLine("# of +1s:"+act.Object.Plusoners.TotalItems);
            Console.WriteLine("# of reshares:"+act.Object.Resharers.TotalItems);
    
            Console.ReadLine();
    

    Output:

        Title: Wow Awesome creativity...!!!!!
        URL:http://plus.google.com/107200121064812799857/posts/GkyGQPLi6KD
        Published:2012-04-07T05:11:22.000Z
        By:Funny Pictures & Videos
        Annotation:
        Content: Wow Awesome creativity...!!!!!
        Type:note
        # of +1s:210
        # of reshares:158
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just read this post and it makes the case against implicit typing using
I want to read the following xml using c#. <configuration> <configSections> <sectionGroup name=spring> <section
I want to read multiple RSS feeds using jQuery. I'm trying to write a
I want to read and write from serial using events/interrupts. Currently, I have it
I want to read list of applications from the Applications folder on Mac using
I'm using C# in .Net 2.0, and I want to read in a PNG
I am building a Windows forms application using VS2010. I want to read the
I want to know how can I read attachment messages without using scriplets in
I want to create a cookie using php,an also i need to read it
I want to draw a stock chart using Google Chart Tools. My self-written webservice

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.