(no title)
airlocksoftware | 11 years ago
https://play.google.com/store/apps/details?id=com.airlocksof...
The newest version (still under development, probably a month or two from release) adds support for displaying polls, linking to subthreads, and full write support (voting, commenting, submitting, etc). I'm fine with switching to a new API (Square's Retrofit will make it super easy to switch), but without submitting, commenting, and upvote support I have to disable a bunch of features I worked really hard on. Also it would've been cool to know this was coming about 3 months ago so I didn't waste my time.
Anyways, quick question on how it works -- when I query for the list of top stories
https://hacker-news.firebaseio.com/v0/topstories.json?print=...
it just returns a list of ids. Do I have to make a separate request for each story
https://hacker-news.firebaseio.com/v0/item/8863.json?print=p...)
to assemble them into a list for the front page, or am I missing something?
dang|11 years ago
Re write access and logged-in access, if that turns out to be how people want to use the API, that's the direction we'll go. But we think it's important to launch an initial release and develop it based on feedback. There are many other use cases for this data besides building a full-featured client: analyzing history, providing notifications, and so on. It will be fascinating to see what people build!
airlocksoftware|11 years ago
It would help me out a lot if the current front end would live on under oldnews.ycombinator.com like that until the new API has write access, though. I think it's pretty cool to be able to be reading an article somewhere else, click "Share" in Android and have "Submit to HN" pop up in the results.
dionidium|11 years ago
This definitely does suck. I feel your pain. But it's also part of the package of scraping websites. You go in knowing that it could break at any time.
airlocksoftware|11 years ago
kogir|11 years ago
If you're on a supported platform, the Firebase SDKs handle all this efficiently and can even provide real-time change notifications.
davideast|11 years ago
If you use the SDKs, we handle the connection and all of the data is sent over a reused full duplex socket rather than individual requests. https://www.firebase.com/docs/android/, https://www.firebase.com/docs/ios/, https://www.firebase.com/docs/web/
thegeomaster|11 years ago
So, @anyone involved with the API project, can you give us an estimate on when will the OAuth-based user-specific API be rolled out? I'm fining with pausing my efforts until then, if it's going to be soon, in order to go a less complex and error-prone path.
[1]: https://github.com/geomaster/hnop/blob/master/backend/src/hn...
kogir|11 years ago
sararob|11 years ago
ossama|11 years ago
tudborg|11 years ago
TheAlchemist|11 years ago
deft|11 years ago
tsenkov|11 years ago
jkimmel|11 years ago
airlocksoftware|11 years ago
cJ0th|11 years ago
Thanks very much guys!
dimillian|11 years ago
hokkos|11 years ago
kolev|11 years ago
airlocksoftware|11 years ago
Spockulus_Rift|11 years ago
[deleted]
piyush_soni|11 years ago
airlocksoftware|11 years ago
squeaky-clean|11 years ago
pbhjpbhj|11 years ago
arjie|11 years ago
josephlord|11 years ago
Raphael|11 years ago