I’ve been trying to find a way to use the same callback URL for a Webhook for the “Stream Changed” topic.
If you use the same URL for multiple users you would get {“data”:[]} when any one of them goes off line, but you didn’t know which one it applies to.
I decided a good solution would be use a query string in my callback URL. Something like:
https://www.mydomain.com/mycallback.php?ThisPersonID=123456
The systems accepts the callback URL and I get my json posts, but using PHP I can never read the query string. I’ve tried $_SERVER[‘QUERY_STRING’], $_GET and $_REQUEST.
Do you just have to use a different callback file for each of these subscriptions or am I doing something wrong in trying to make the above work?
Thank you.