Skip to content

moqod/disqus-ios

Repository files navigation

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

About

iOS library for integration of Disqus into your apps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages