Submitting link does not return correct value
zeshinsei opened this issue · 2 comments
zeshinsei commented
reddit is returning an error through this PHP API, but this API is not catching the error returned. It's still outputting true (1) that submit was successful. For example, in the return array from reddit this is correct:
[12] => Array
(
[0] => 12
[1] => 13
[2] => call
[3] => Array
(
[0] => value
[1] => http://www.msn.com
)
)
But this from reddit indicates an error, and this API doesn't notice that:
[14] => Array
(
[0] => 14
[1] => 15
[2] => call
[3] => Array
(
[0] => a url is required
)
)
henrycatalinismith commented
This does indeed sound like a bug, thanks for reporting it!
Is there any more information you could give me about this? Which exact method are you calling in the API client? What are you trying to do exactly?
henrycatalinismith commented
Not proud at all of my turn-around time on this issue, but at least it's done now.