Forum Discussion
may you try this call?
"/search/messages/count?q=date%3A%5B" + start + "%20TO%20" + end + "%5D&author_id=" + author_id
- "start" and "end" are UTC dates in seconds or milliseconds (both should work)
- "author_id" is the user id.
- nicolasdarmadja11 years agoGuide
Hi HaidongG,
Thanks for your reply! Would it be possible to use login names instead of user id?
Further question: Is there any documentation regarding what parameters you can use in the search/messages method?
Thank you
- VarunGrazitti11 years agoBoss
nicolasdarmadja - Yes, you can use author_login= instead of author_id= and then pass the name instead of ID.
- HaidongG11 years agoLithium Alumni (Retired)
Hi VarunGrazitti ,
do you mean to say "author=" instead of "author_login="? I did a quick search on our product code, I don't think that we are looking into query parameter for "author_login", but only for "author".
nicolasdarmadja , if you are looking into screen name i.e. "author=HaidongG", please make sure that the screen name is unique. As community doesn't do any screen name validation for SSO login, it may lead to two accounts with the same screen name.
I hope that this helps.
Related Content
- 3 years ago
- 2 years ago
- 3 years ago
- 8 months ago