Is there any way hidden events can be pulled in a JSON feed?
Thanks,
Akbar
Is there any way hidden events can be pulled in a JSON feed?
Thanks,
Akbar
I believe it can be done, but only if logged in or using API authentication.
https://support.livewhale.com/live/blurbs/api#Hidden-Content
By default, all API results only show Live content. However, when developing it may be useful to query for hidden content in certain cases. In LiveWhale 2.0+, adding ?include_hidden=1 to the end of your API request will include hidden results if you are logged-in to LiveWhale (or using an authentication token).
I haven’t tried it myself, but hopefully that’s a start.
Thanks,
Nick
We mostly use JSON feeds to pull events into a website. However, include_hidden/1
does not pull hidden events.
Thanks Nick—That support doc for hidden content is exactly what we would have suggested too!
Akbar—You could try using API Basics - LiveWhale Support as a starting point to using an authenticated request if adding the ?include_hidden=1
isn’t working for you to be able to see that hidden content.
Or if you’re still having issues getting the results you’re expecting feel free to reach out to your personalized support email and include the specific JSON requests you’re using and we could take a closer look at things.
Thanks!
Rachael
Is there a way to get to events where we set the Privacy to This Group only or Any logged in User through the Feed? Is there a parameter that we could use for that?
Thanks.
Hi Akbar,
If you’re using the authenticated request you should be able to access data that would normally be filtered out of an anonymous request like the “any logged in user”. Step 2 in the docs outlines what those requests would look like.
However, if this isn’t working for you, you could share steps here for us to reproduce. Or it isn’t hard to imagine that this is something that a custom module would be capable of doing. If that’s something you might be interested in and you’d like to go that route—let us know by reaching out to your personalized support email with more details and we can certainly take a look.
Thanks!
Rachael