Dani, if I get the following URL:

http://www.daniweb.com/api/articles?page=1&orderby=firstpost&access_token=MY_TOKEN

it returns the attached JSON result, which fails to json_decode(). Can you have a look please?

Recommended Answers

OK fixed. Sorry about that ... I changed something the other day that I had no idea was going to affect the API!

Jump to Post

All 6 Replies

Oh, I know why! OK, on it! ...

I can't decode in array nor object. Could it be that some code in one of the posts is causing this? According to my editors the first curly bracket and first straight bracket aren't closed properly.

OK fixed. Sorry about that ... I changed something the other day that I had no idea was going to affect the API!

Top, thanks. My client applications work again as before.

I went ahead and removed the file you attached because it contained sensitive data about members (which is why it was broken in the first place).