Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
I need to get just the count of Social Media Audience

Like:

Priority:
Facebook Page Likes
Twitter Follower Count
Google + Follower Count
Linkedin Company Follower Count
Facebook Group Member Count
Linkedin Group Member Count
Google+ Community Follower Count

Youtube, Pinterest etc as well

Please guide me using a simple solution.

What I have tried:

I tried using the tutorials from Google but those are too old and the API has changed after that.

Not sure how to use this.
FB.api(
  '/fbpageid',
  'GET',
  {"fields":"new_like_count"},
  function(response) {
      // Insert your code here
  }
);
Posted
Updated 30-Jan-18 23:44pm
v2
Comments
F-ES Sitecore 31-Jan-18 4:50am    
Visit the developer documentation for each site to see how you interact, there is no global standard for these things. I'd start with Facebook and Twitter as they will be easier to find examples for and one you start to understand the basic concepts try the others.
Mr_cool 31-Jan-18 5:43am    
FB.api(
'/fbpageid',
'GET',
{"fields":"new_like_count"},
function(response) {
// Insert your code here
}
);


This is the javascript code but I'm not sure how to use this with c#
ZurdoDev 31-Jan-18 10:47am    
You don't use JavaScript with C#. JavaScript runs on the client side and C# runs on the server.

I'd also look to see if someone has ever put together a common API that exposes each of the above apis. There might be.
Mr_cool 31-Jan-18 11:54am    
Ok thanks. Awaiting your reply.
ZurdoDev 31-Jan-18 12:17pm    
Reply for what?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900