Forum Discussion
You may have accidentally duped the threads that both work in your post. When I click on the links, I have success on both. Was one of them supposed to not work?
Yeah, sorry. I did post the wrong link. I posted the link that works in *this* community, which is:
http://lithosphere.lithium.com/lithium/restapi/vc/posts/recent <-this works here, but not on mine
If I use that same URL on my community it does not work (although the URL for recent threads does work). It does not appear to be a permissions issue from the response. The response gives a 501 error stating "Unknown path element at node 'community'."
This one does not work for me:
http://community.sagesaleslogix.com/slsl/restapi/vc/posts/recent
I am stuck :( Thanks for any help.
- JakeR15 years agoKhoros Oracle
Yeah, that is a bit odd. I am an anonymous user and I can see this API response just fine:
http://community.sagesaleslogix.com/slsl/restapi/vc/boards/id/hello
So the good news is that we at least have a "dial tone".
Now, when I try to get the latest messages from that board in particular, I am successful:
http://community.sagesaleslogix.com/slsl/restapi/vc/boards/id/hello/messages/latest
And when I go into the Community level and want to find out what the names of the categories are, I am successful:
http://community.sagesaleslogix.com/slsl/restapi/vc/categories
But you're right, when I try to get recent posts from the Category or Community level, I'm having trouble...
I'll keep looking into this. BTW, when is your upgrade to v9?
- JakeR15 years agoKhoros Oracle
Ok, I think you need to upgrade to v9 in order to get that API call.
The closest I can get you is recent threads for your entire community, not recent posts:
http://community.sagesaleslogix.com/slsl/restapi/vc/threads/recent
I hope this will help until you can get on v9.
- RyanFarley15 years agoContributor
Thanks for all the help Jake.
The upgrade to v9 is out of my hands and unfortunately, I don't see it happening any time soon :(
Basically what I need is to be able to retrieve any new posts "today" (or at least since a certain date/time). Do you have any ideas for how to get all posts since a certain date/time?
Thanks again.
- pooraju13 years agoContributor
Hi,
Is there any way to get latest message of a specified author ? I am able to get latest message using messages/latest but I need messages per author.
I also tried with search/messages but in vein.
Thanks in advance
Related Content
- 2 months ago
- 9 months ago
- 9 months ago
- 2 years ago