On the related note - I can see the ID (1536756) for the Soapbox (and other forums) from its URL, but not sure about the Lounge and the Insider (and a couple of others).
Of course, as you said, we will be having a list of them later, but can you please paste the IDs for the Lounge, the Insider and the Weird and the Wonderful, so that I can try get the posts for them as well?
Just noticed fid URL parameter while creating a new thread (and several other actions). I think that is it.
That is the idea, so that if your Client Credentials for one app are compromised, you can invalidate them without affecting your other applications. The alternate is to have one and invalidate all your apps.
Furthermore, the OAuth Authorization Flow and Implicit Grant flows require a redirection URL which is unique to each app for security reasons.
The Resource Owner Password Flow is less secure than the other two, and is not recommended for most applications. In the future, we may restrict its use to those clients and applications we can verify as being secure, and a web app is not a secure app.
Is there any way to have hierarchical relationship between the forum messages? I can see all messages for a thread or a forum, but not sure how I can relate them like "this message is a reply to that one". Perhaps some field like ParentMessageID would be helpful.
Am I missing something?
Also, not sure that the rating and votes for messages are getting populated properly in the response.
Also, the URL against the WebsiteLink field starts with "//", but that's ok, I guess.
Whether I think I can, or think I can't, I am always bloody right!
Yes, that needs correction. That's what I get for trying to re-use a non-hierarchical class to display hierarchical data.
Need to add ParentId, and ThreadId at a minimum. I could add indent level as well.
The messages are displayed in the order to display them in discussion order, but without the above properties it is difficult to do so.
I'll fix this today or tomorrow.
Also, the WebsiteLink should be starting with http://www.codeproject.com. I'll fix this as well.
I've made the change and deployed. See the API Documentation and Change Log for details.
Basically, ParentId has the Id of the Parent Message, ThreadId has the Id of the original message for the discussion thread and IndentLevel indicates the hierarchical level of the message in the discussion thread,
Messages are displayed in discussion order, so just indenting the messages using the IndentLevel value will result in a display similar to that in the CodeProject Forums.