User comments API not working

Richard Jong
    Fixed

I try to retreive all the comments of a user through the following call:


http://userecho.com/api/users/[user_id]/comments.json?key=[key]


However it always returns a empty array, even for users of which I'm sure they have placed lots of comments.


Furthermore: is it possible to retreive the statistics through the API? I want to back-up the data and analyse the use of the forum. 

Richard Jong

Thanks for your swift follow-up.

The statistics that are already in the forum are very useful (and I can create my own statistics from the feedback and comments list, only if I can retreive the comments). 


The page-views and visits (upper statistics graph) are currently not accessible through the API and would be a great bonus. This way I can construct the total visitor statistics from the beginning.

Sergey Stukov

We founded why your API calls not receive data. Because your community is private.

We prepare fast solution to enable API access for you.


Also use https:// prefix for KEY security.

Sergey Stukov

Tell us you plan to call API via browser or via server script? 

Sergey Stukov
    Answer Fixed

Started investigation of your api issue will place info here soon.


Which type of statistics you want to get?

Sergey Stukov

Please check API to get comments should work now. Call with https:// prefix.

Richard Jong
Hello Sergey, today I started working on the API again.

Retreiving user comments through a script on my local computer doesn't work, if I upload the script to a server it does work. In my browser it also works, however in both ways the list of comments is limited to 50.

The API call for comments on a topic (feedback comments) returns an empty result, both in script and browser.

Is there already some progress in the statistics API?

Using HTTPS in my browser gives a security warning, Chrome recognises the certificate, however it is not complete/outdated.
Richard Jong
and by the way, nice mouse-tracking gimmick on your about-page ;)
Sergey Stukov
Quote from Richard Jong
Hello Sergey, today I started working on the API again.

Retreiving user comments through a script on my local computer doesn't work, if I upload the script to a server it does work. In my browser it also works, however in both ways the list of comments is limited to 50.

The API call for comments on a topic (feedback comments) returns an empty result, both in script and browser.

Is there already some progress in the statistics API?

Using HTTPS in my browser gives a security warning, Chrome recognises the certificate, however it is not complete/outdated.

We support pagination in all requests. By default all queries limited to 50 records.
For pagination we use two params.
page - select page
limit - limit records on page


Will check function that return feedback comments now.

Sergey Stukov
Quote from Richard Jong
Hello Sergey, today I started working on the API again.

Retreiving user comments through a script on my local computer doesn't work, if I upload the script to a server it does work. In my browser it also works, however in both ways the list of comments is limited to 50.

The API call for comments on a topic (feedback comments) returns an empty result, both in script and browser.

Is there already some progress in the statistics API?

Using HTTPS in my browser gives a security warning, Chrome recognises the certificate, however it is not complete/outdated.
API call for feedback's comments updated and should work now
Richard Jong
Quote from Sergey Stukov
API call for feedback's comments updated and should work now
Awesome, thanks for the quick fix!
 Sign in to leave a comment