how to get list of subscribers for a particular channel on pubnub
-
09-06-2021 - |
Question
I am writing an application in titanium by making use of pubnub. I need to get the device id or any specific details of all people who are subscribed to a particular channel. Please let me know how do I get the device id of all sudcribers to a particular channel.
Thanks
Solution
There is no such function in the whole Documentation of Pubnub. You have to implement a function like "whosthere()" which posts a message to a Channel. All connected (subscribed) clients then need to answer to that Post with "imhere()" or something similar.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow