Disqus 0.0.5

Disqus 0.0.5

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total1,332
Week0
Month4

Installs

Apps22
Test Targets2
powered by Segment

GitHub

Stars72
Watchers18
Forks11
Issues6
Contributors3
Pull Requests0

Code

Files9
LOCLines of Code 687


Disqus 0.0.5

  • By
  • Moqod and Andrew Kopanev

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