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].
- [Mar 24, 2014] Removed AFNetworking submodule.
- [Mar 24, 2014] Added authorization via social networks: Facebook, Twitter and Google.
- [Mar 24, 2014] Added access token refresing
- Added ARC support to
MDDisqusComponent
.
- 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.
- Customizable authorization user interface.
- Sample app with more features.
This library uses AFNetworking.
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);
}
}];
MIT