Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - URL per la richiesta:
- "https://disqus.com/api/3.0/threads/list.json?api_key=" + App.DisqusPubKey + "&forum=chimerarevo&thread=link:" + url
- App.DisqusPubKey รจ la chiave pubblica che ti danno loro. Se non hai ancora messo il dominio all'applicazione registrata su Disqus, metti quello che vuoi (io ho messo "chimerarevo.com")
- - Response class
- public class ThreadRoot
- {
- [JsonProperty("code")]
- public int StatusCode { get; set; }
- [JsonProperty("response")]
- public List<ThreadElement> Threads { get; set; }
- }
- public class ThreadElement
- {
- [JsonProperty("clean_title")]
- public string CleanTitle { get; set; }
- [JsonProperty("isDeleted")]
- public bool IsDeleted { get; set; }
- [JsonProperty("id")]
- public string Id { get; set; }
- [JsonProperty("isClosed")]
- public bool IsClosed { get; set; }
- [JsonProperty("posts")]
- public long Posts { get; set; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement