iahiqosolutions
Joined 14 years ago
Joined 14 years ago
Hi iahiqosolutions,
essentially - you want to find blog posts that have been created in a specific timeframe. In this case, you can use the search API in the way that AdamN already described here
Some considerations to make here are the potential amount of data that can be returned with this call and the associated performance of the call : this will depend on how active is the blog you are looking at. In that case, you may either want to reduce the timeframe or implement pagination using the page and page_size parameters in the call.
Hope this helps,
You can retrieve aggregated statistics for users via the REST API:
You can also retrieve the metrics for specific boards:
However, I'm not aware of any way to get the metrics for the different boards for a specific user.
You may be able to use the metrics object to return message and board views as logic to determine which blogs to display in a custom widget
Not sure if this helps, but it's someplace to start.
~Doug
Hi iahiqosolutions,
I'm not sure I understand the distinction you're making between these two components. Is it just that #2 is sorted by post date where as #1 is not?
In either case, I'd suggest checking out the "posts/style/[style]/recent" REST API method:
The style you're interested in is "tkb", so your call would look something like:
/posts/style/tkb/recent
This will give you all of the posts in the "TKB" interaction style sorted by the date they were posted. If you just want the root messages (i.e. topics), there's also a "topics/style/[style]/recent" method:
Which would give you a call like:
/topics/style/tkb/recent
You can page through these results to get older articles as needed.
If you were looking for something different, please let us know.
Assuming REST API, I believe an Idea is a board, not a message. You can get a list of boards and look up the "interaction_style" node in the XML, it should say "idea" for an Idea board, "qanda" for a Q & A board etc.
Hope that helps!