Since Firebase was bought by Google they have released a 3.0 version of their SDK which no longer just takes a URL to a DB but also takes an apiKey. I've done a fair bit of googling and reading the docs but I can't find a way to connect to the Hacker News API with the new SDK as I'm not sure where I'm supposed to get an apiKey from.
There was some people talking about this issue in the support forums and their response was to stick with v2 until they sort out the issues.
They recently made a change with the node sdk recently so you don't need the apiKey for public access.
Not sure about the web version, You would probably have to use the Browserify or something.
That said, If I were you, I would stick with V2 sdk since I don't think hacker news has actually updated yet.
An easier way is to just use the rest apis, That is still clearly working.
They recently made a change with the node sdk recently so you don't need the apiKey for public access. Not sure about the web version, You would probably have to use the Browserify or something.
https://firebase.googleblog.com/2016/07/firebase-react-nativ...
That said, If I were you, I would stick with V2 sdk since I don't think hacker news has actually updated yet. An easier way is to just use the rest apis, That is still clearly working.
https://hacker-news.firebaseio.com/v0/item/8863.json