-
Notifications
You must be signed in to change notification settings - Fork 3
threadDetails
Flow edited this page Jun 3, 2015
·
1 revision
This function is based on the disqus threads/details API. Use it like this:
let threadLink = "http://my-website.com/my-post/"
disqusManager.threadDetails(link: threadLink, { thread, error in
if error != nil {
println("\(error.localizedDescription)")
}
else {
// do something with thread
}
})
// OR USE THREAD IDENTIFIER
let threadIdent = "my-identifier"
disqusManager.threadDetails(ident: threadIdent, { thread, error in
if error != nil {
println("\(error.localizedDescription)")
}
else {
// do something with thread
}
})