disqus / disqus-php

Disqus API bindings for PHP
http://disqus.com/api/
Apache License 2.0
149 stars 73 forks source link

searching for thread via URL #27

Open ElGabbu opened 9 years ago

ElGabbu commented 9 years ago

Hi guys

I am trying to search for a thread withing my forum via the URL/Link ... I am trying to do it in the following manner.

$params = array( 'forum' => $this->shortname, 'thread' => ("link:" . $URL) );

$thread = $this->API->threads->list($params);

However the URL filtering is not working as desired since the results of that call contains all the thread of my forum.

Any advice?

Thanks

ElGabbu commented 9 years ago

It would seem that if I use the details method with same parameters I get an error code 2 when the thread is not found :)