All Projects → akaSybe → Disqus.NET

akaSybe / Disqus.NET

Licence: MIT license
Disqus API for .NET

Programming Languages

C#
18002 projects
powershell
5483 projects

Projects that are alternatives of or similar to Disqus.NET

Talkyard
A community discussion platform: Brings together the main features from StackOverflow, Slack, Discourse, Reddit, and Disqus blog comments.
Stars: ✭ 1,219 (+9276.92%)
Mutual labels:  disqus
plugin-disqus
Disqus comments on your books
Stars: ✭ 49 (+276.92%)
Mutual labels:  disqus
disqus-proxy
Disqus API service
Stars: ✭ 15 (+15.38%)
Mutual labels:  disqus
Comment.js
[Archived] A tiny comment system based on Github issue comments.
Stars: ✭ 111 (+753.85%)
Mutual labels:  disqus
Articulate
A wonderful Blog engine built on Umbraco
Stars: ✭ 178 (+1269.23%)
Mutual labels:  disqus
ngx-disqus
Disqus for Angular 💬
Stars: ✭ 109 (+738.46%)
Mutual labels:  disqus
Laravel Disqus
A simple Disqus platform integration with Laravel.
Stars: ✭ 71 (+446.15%)
Mutual labels:  disqus
kunnan.github.io
@zhangkn
Stars: ✭ 13 (+0%)
Mutual labels:  disqus
Yoyo
A dead simple comment engine built on top of AWS lambda and React, alternative comment service to Disqus.
Stars: ✭ 210 (+1515.38%)
Mutual labels:  disqus
newsroom
A simple, minimalistic Hugo theme. View Demo here
Stars: ✭ 200 (+1438.46%)
Mutual labels:  disqus
Gatsby Starter Lumen
A constantly evolving and thoughtful architecture for creating static blogs.
Stars: ✭ 1,797 (+13723.08%)
Mutual labels:  disqus
Disqus Proxy
Hexo插件 解决国内不能访问 Disqus 的代理
Stars: ✭ 154 (+1084.62%)
Mutual labels:  disqus
hide-comments-everywhere
A browser extension for hiding major commenting systems like Disqus, Livefyre, Facebook plugin, WordPress, YouTube, etc.
Stars: ✭ 27 (+107.69%)
Mutual labels:  disqus
Gatsby Advanced Starter
A high performance skeleton starter for GatsbyJS that focuses on SEO/Social features/development environment.
Stars: ✭ 1,224 (+9315.38%)
Mutual labels:  disqus
Blended
The Most Versatile Static HTML Site Generator
Stars: ✭ 22 (+69.23%)
Mutual labels:  disqus
Rustycrate.ru
Русскоязычный сайт о языке программирования Rust
Stars: ✭ 72 (+453.85%)
Mutual labels:  disqus
waline
💬 A Simple, Safe Comment System
Stars: ✭ 1,145 (+8707.69%)
Mutual labels:  disqus
hyde-hyde
A cool theme inspired by spf13's Hyde theme
Stars: ✭ 234 (+1700%)
Mutual labels:  disqus
cusdis
lightweight, privacy-friendly alternative to Disqus.
Stars: ✭ 1,996 (+15253.85%)
Mutual labels:  disqus
disqus-conditional-load
Advanced plugin for Disqus WordPress
Stars: ✭ 21 (+61.54%)
Mutual labels:  disqus

Disqus.NET

Build status

Example usage

  • Get forum details
var disqus = new DisqusApi(DisqusAuthMethod.SecretKey, <your_application_secret_key>);

var request = DisqusForumDetailsRequest
    .New("disqus")
    .Related(DisqusForumRelated.Author)
    .Attach(DisqusForumAttach.ForumForumCategory | DisqusForumAttach.Counters);

var response = await disqus.Forums.DetailsAsync(request).ConfigureAwait(false);
  • Get forum threads page by page using cursor
var disqus = new DisqusApi(DisqusAuthMethod.SecretKey, <your_application_secret_key>);

List<string> threads = new List<string>();
string cursor = null;

do
{
    var request = DisqusForumListThreadsRequest
        .New("disqus")
        .Limit(100)
        .Cursor(cursor)
        .Include(DisqusThreadInclude.Open)
        .Since(new DateTime(2016, 09, 01))
        .Order(DisqusOrder.Asc);

    var response = await disqus.Forums
        .ListThreadsAsync(request)
        .ConfigureAwait(false);

    /* do something with threads */
    foreach (var thread in response.Response)
    {
        threads.Add(thread.Id);
    }

    // if cursor has more then set cursor to next result
    if (response.Cursor.More)
    {
        cursor = response.Cursor.Next;
    }
    else
    {
        cursor = null;
    }

} while (cursor != null);
	    
  • More examples

See integration tests for examples of usage

Installation

Disqus.NET is available as Nuget-package

Resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].