An Objective-C block-based, ARC, API wrapper for the complete Instagram API for iOS
Objective-C Ruby
Latest commit 2bb4ebd Nov 19, 2013 @raulandrisan raulandrisan added license info
updated podspec
incresed version to 1.4.1
Failed to load latest commit information.
Model added convenience metod to retrieve a users name May 24, 2012
NRGramKit.xcodeproj - added gitignore file Jun 23, 2013
NRGramKit - updated demo to work with the new version and local podspec Nov 14, 2013
.gitignore - added gitignore file Jun 23, 2013
.gitmodules - fixes for uses in our project Sep 5, 2012
Podfile.lock - removed SBJSONCategories dependency Jun 23, 2013


An Objective-C block-based, ARC, API wrapper for the complete Instagram API for iOS


This project installs as a cocoapods pod in your project by pasting this line in your Podfile:

pod 'NRGramKit'

Optionally to make sure you are using the latest version you can specify the podfile linked directly from the official NRGramKit repository:

pod 'NRGramKit', :podspec => ''

Create an application at and create a new plist file in your project called NRGramKitConfigs.plist with the following keys:


Use the provided class methods to make instagram calls and receive the data using the provided blocks, asynchronously.


Just provide NRGramKit with a webview that you display where you want and when you want so it can handle the login process. NRGramKit remembers everything it needs after the process is finished.

[NRGramKit loginInWebView:self.webView          loginLoadingCallback:^(BOOL loading){
    //you can show a spinner while the webview is loading
     finishedCallback:^(IGUser* user,NSString* error)     {
     // yay - you are now authenticated, NRGramKit remembers the credentials

You can check if you're authenticated using

[NGGramKit isLoggedIn];

Or get info about the current user using

[NGGramKit loggedInUser];

Unauthenticated calls

All the calls to the service are done asynchronously and are block-based

[NRGramKit getMediaPopularWithCallback:^(NSArray* popularMedia,IGPagination* pagination)
    = popularMedia;

Authenticated calls

Authenticated calls will simply fail if you don't login first

[NRGramKit getMediaInUserLikedCount:25 withCallback:^(NSArray* likedFeed, IGPagination* pagination)
    = likedFeed;


NRGramKit is available under the MIT license. See the LICENSE file for more info.