Monday, October 7, 2013

Find Google Plus,Twitter and Face book Count using c#

I have an requirement that need to display social network share count displayed over my landing page for that i have implemented the code developed in asp.net with c#, you can find the detailed information on below link, here is demo of my source code that contains only source file.

I have implemented this for Facebook, Twitter, Linkedin, Youtube and Google Plus


    protected void Page_Load(object sender, EventArgs e)
    {
        linkedinSiteURl = "http://www.linkedin.com/cws/followcompany?companyIdentifier=164878&counterPosition=right";
        youtubeSiteURl = "http://gdata.youtube.com/feeds/api/users/maxlife";

        //LikesCount = "123456789"; // 12,34,56,789
        //LikesCount.FinalNumber();       

        #region Facebook Working
        GetFBCount(fbSiteURl);
        fbCount.Text = string.Format("{0} Likes", LikesCount.FinalNumber());
        #endregion

        #region youtube Working
        GetYoutubeCount(youtubeSiteURl);
        youTubeCount.Text = string.Format("{0} Views", LikesCount.FinalNumber());
        #endregion

        #region Linked in
        GetLinkedinCount(linkedinSiteURl);
        linkedInCount.Text = string.Format("{0} Followers", LikesCount.FinalNumber());
        #endregion

        #region twitter
        GetTweeterCount(TwSiteURl);
        twtCount.Text = string.Format("{0} Followers", LikesCount.FinalNumber());
        #endregion

        #region g Plus
        GetgplusCount(gplusSiteURl);
        gPlusCount.Text = string.Format("{0} Followers", LikesCount.FinalNumber());       
        #endregion
    }


for more detail code please downlaod this link


 

1 comment:

  1. - What if I told you that I could get you 250 brand spanking new followers on google plus for five dollars? Well I am sad to report, you can. 1000 google plus followers

    ReplyDelete