Hi all,
Sorry to be late to this thread, as has already been said trying to get thread level subscriber counts is not very well supported at the moment. It should be better using the APIs provided by Aurora.
For Board subscriber counts
I have written an excel file which allows you to iterate through every board in a community and find out how many people are subscribed to that board.
Instructions:
Open this XLSM file: https://1drv.ms/x/s!AkiSjdO4yjrasPABOjsq12IkyikdVA?e=mYjICe
You may need to enable content (depending on the security settings of your excel installation)
Go to the settings tab and enter:
UserName: the user name of a user in your community who at least as read permissions to the API
Password: The password for the above user (note: if your community uses SSO then you will need to create a non-sso user using the create user button in the Users Tab).
Community URL: The base url for your community (i.e. https://community.khoros.com
ClientID: Go to this page: OAuth 2.0 authorization grant flow (khoros.com) and follow the steps to register an App and you get this client id.
Once done go back to the Report Data tab and click Get Subscription Data and it will pull every single category / board from your community and put the subscriptions to that board in this file.
As noted previously this count DOES NOT include subscriptions to the actual topic just the board.
If you get an error when you try to run the code you may need to add some references. To do this open the file, right click on the sheet name and click "View Code". When the VBA editor opens click Tools at the top and click References.
This file requires:
- Visual Basic for Applications
- Microsoft Excel 16.0 Object Library (likely anything newer will also work)
- OLE Automation
- Microsoft Office 16.0 Object Library (likely anything newer will also work)
- Microsoft ActiveX Data Objects 6.1 Library
- Microsoft Forms 2.0 Object Library
- Microsoft XML v6.0
Disclaimer: this file is provided as is, it was clean of viruses and only does what I say it does at the time I uploaded it but you should treat any file you don't know with suspicion until your happy it works safely.
This file REQUIRES Microsoft Excel Desktop and will not function in the Web browser.
Feel free to reuse any of my VBA code, although would love to know if you use guys use it for anything else cool!