• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Add reply using Python script

#1
Hello there,

I'm trying to reply to a thread using Python script (ofc it's authorized on my forum), but I don't really understand which params should I send. Nothing happens if I give it only "message" value like this:

params = urllib.urlencode({'message' : 'test'})
get = urllib2.Request("http://forumdomain/threads/threadname.60/add-reply" , params, headers)
opener.open(get, params)

So I am wondering which params should I send to the server to reply?
 

Aayush

Well-known member
#3
I coded something like this in PHP, you can see some thread from me from a while ago In the dev section. I explained how to do this in the last post of the thread. Might be helpful.

I am mobile atm, otherwise I would've linked you to the thread.