3 ms·
That seems to work really well, thanks for your work. I might use it. One thing I'm struggling with is the data model, of what exactly is returned on an event.
by onli 11y ago
That seems to work really well, thanks for your work. I might use it.
One thing I'm struggling with is the data model, of what exactly is returned on an event. I see that right that rockets is sending data like the API would've returned them, and that is why they are not defined in the code?
I'm new to Reddits Api and was wondering how to get a comments url. Just realizing that I should just echo the full object and find keys that way. I'm leaving the comment, maybe you want to add some documentation/links to the proper Api documentation in that direction.
- rtheunissen 11y ago> maybe you want to add some documentation/links to the proper Api documentation That's an excellent idea, added in http://git.io/vOOKi http://git.io/vOOKi. > how to get a comments url A comment permalink is a strange combination of the comment itself and its parent post. You can build a comment permalink using the following template: reddit.com/r/{subreddit}/comments/{link_id[3:]}/_/{id}
- onli 11y agoThanks a lot! I discovered link_url and that would have worked for the moment, but the real comment permalink would have taken a lot of time to find out. The link to the json-wiki page is perfect as well, that is exactly what I searched and did not find. Thanks again.