1

I am working on a wordpress website where I need to get the number of members in a particular linkedin group.

The person viewing the website will likely not be logged into linkedin, or ever have a profile.

This is simply for a Check out our linked in group and join 12345 other members! type thing.

Is there a simple way to get the number of members in a linkedin group?

This can be PHP using a rest API, a Javascript API, or whatever works as long as it can work with wordpress.

ekad
  • 14,436
  • 26
  • 44
  • 46
Hailwood
  • 89,623
  • 107
  • 270
  • 423

2 Answers2

3

You would pull the group membership totals from the LinkedIn API via the Groups API.

Unfortunately, in order to comply with the API platform guidelines, you can only retrieve and show the membership totals of a group to the user if the user has authenticated your application against the API via OAuth.

Once you have authenticated the user, you can retrieve the information from the Groups API via a call along the lines of:

http://api.linkedin.com/v1/groups/XXXX:(id,name,site-group-url,num-members)

Where XXXX is the group ID.

Unpossible
  • 10,607
  • 22
  • 75
  • 113
  • 1
    At the bottom of `Group Output Fields` there is `num-members` which is the number of members in the group. however it seems that you need to be logged in and authorized as a user to access the groups API? – Hailwood Nov 16 '11 at 03:18
  • I stand corrected. Yes, you need to be authorized with the LinkedIn API to access the data. I will edit my answer to reflect this. – Unpossible Nov 16 '11 at 16:02
0

http://blog.linkedin.com/2011/11/10/groups-analytics/

Can this information be useful for you?