Skip to content

stuartkhall/Instagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple block based Objective-C wrapper around the Instagram API

Requires AFNetworking (git submodule init && git submodule update)

Simple example:

// Fetch a user by ID
[client getUser:@"128643"
        success:^(InstagramUser* user) {
            NSLog(@"Got user : %@ (%@)", user.fullname, user.username);
        } 
        failure:^(NSError *error, NSInteger statusCode) {
            NSLog(@"Error fetching user %ld - %@", statusCode, [error localizedDescription]);
        }
 ];

Check InstagramClient.h for all endpoints

You'll need a client ID from http://instagram.com/developer/manage/

Note : Only the user endpoints are currently implemented (http://instagram.com/developer/endpoints/users/)

About

Instagram ObjectiveC Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published