The discussion revolves around creating topics with tags using the Discourse API gem. AstonJ initially faced issues when trying to include tags in create_topic, receiving an error requiring at least one tag. fzngagan suggested using an array format (`tags: [
That doesn’t work either Faizaan (same message that a tag is required).
Not sure if this is out of date, but it seems that tags are different to the others being some sort of array type - but how do we use that via the gem?
Do you mean the gem? It works as I use it to make posts in existing topics (from the same script in fact), send PMs etc. This is the first time I am trying to add tags though..
I wasn’t expecting an update so soon and so managed to find a workaround by using the post method and passing everything as params. Doing it with create_topic is definitely better tho, thanks!