function Disqus::get_thread_by_url in Disqus 7
Get thread by URL.
Finds a thread by its URL. Output value is a thread object.
Parameters
$url: the URL to check for an associated thread
$partner_api_key: (optional) The Partner API key.
Return value
A thread object, otherwise NULL.
File
- ./
disqus.php, line 214 - Provides the Disqus PHP API.
Class
- Disqus
- The Disqus PHP API.
Code
function get_thread_by_url($url, $partner_api_key = NULL) {
return $this
->call('get_thread_by_url', array(
'url' => $url,
));
}