[RSS Feed/News] Adding comments to threads with AAPI

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I need some help. I successfully wrote a custom script to import my threads from my MSSQL Server, but I am having an issue importing comments to those threads.
My best guess is to use: /api/threads/ or /api/threads/{ID of parent Thread} or {ID of parent forum node} ??
Two questions: which to use, and in both, what is the prefix_id?
My initial test import put the comment as a new thread in a sub-forum, not as a comment of an existing thread.

Code:

request1.AddHeader("Accept"...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom