I need a bit of help with the Disqus gem. I can’t seem to create new
threads. Just to test it out, I tried to create a thread in the
Disqus::Api.thread_by_identifier(:forum_api_key => “the api key of the forum i want to post this comment in”, :identifier => “some nutty one”, :title => “test title”)
TypeError: can’t convert Net::HTTPMovedPermanently into String
initialize' from /home/ramon/.gem/ruby/1.8/gems/json-1.1.3/lib/json/common.rb:122:innew’
parse' from /usr/lib/ruby/gems/1.8/gems/norman-disqus-1.0.1/lib/disqus/api.rb:188:inthread_by_identifier’
I did some reading to see what the problem might be here, and it is
possible that it’s because the browser sends a bunch of other stuff
that the server needs. So I tried to curl it instead:
When I press enter, nothing happens. I checked my forum, and don’t
see any new threads.
What should I do?