You need some unique User-Agent to identify this app to reddit. Something like:
```
http.setRequestHeader("User-Agent", "Ubuntu Phone Reddit App 0.1")
```