Giter Site home page Giter Site logo

disqus-ios's Introduction

iOS Disqus API

This open-source library allows you to integrate Disqus into your iOS apps. Learn more about Disqus API.

The project has been created by Moqod team to help many developers searching for this solution on Stackoverflow and else where. Special thanks to Disqus for answering support questions promptly! When integrating this solution to your project, please, spare us a like on Facebook, follow us on Twitter or spread a good word about us!

Feel free to get in touch with us in regards to any questions or cooperation requests via email [email protected].

Update

  • [Mar 24, 2014] Removed AFNetworking submodule.
  • [Mar 24, 2014] Added authorization via social networks: Facebook, Twitter and Google. Image
  • [Mar 24, 2014] Added access token refresing
  • Added ARC support to MDDisqusComponent.

Features

  • Authorization via disqus.com and social networks.
  • API access.
  • Posting comments to discuss.
  • Answering comments in a thread.
  • And much more! Just learn the API and documentation.

Todo

  • Customizable authorization user interface.
  • Sample app with more features.

3rd Libraries

This library uses AFNetworking.

Sample

    MDDisqusComponent *disqusComponent = [[MDDisqusComponent alloc] initWithPublicKey:@"<YOUR_PUBLIC_KEY>"
        																	secretKey:@"<YOUR_SECRET_KEY>"
																		  redirectURL:[NSURL URLWithString:@"<YOUR_REDIRECT_URL>"]];
    
    [disqusComponent requestAPI:@"threads/list" params:@{@"forum" : @"<YOUR_FORUM_SHORTNAME>"} handler:^(NSDictionary *response, NSError *error) {
		if (nil == error) {
			NSLog(@"response == %@", response);
		} else {
			NSLog(@"error == %@", error);
		}
	}];
    

License

MIT

disqus-ios's People

Contributors

akopanev avatar alexizh avatar todavchich avatar

Watchers

James Cloos avatar Tian Xia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.