crino / instagram-ios-sdk

Instagram SDK for iOS
http://www.followgram.me
228 stars 63 forks source link

requestWithParams don't get answers #28

Closed ghost closed 10 years ago

ghost commented 10 years ago

i'm trying to implement your example in my own project. obviously before i make a request, i do login. anyway this is my header file:

import "SocialMapAppDelegate.h"

@interface InstagramPhotos : BasciPhotoDictionary

@end

and this is my implementation file:

import "InstagramPhotos.h"

@implementation InstagramPhotos

-(void)requestForPhoto { SocialMapAppDelegate* appDelegate = (SocialMapAppDelegate*)[UIApplication sharedApplication].delegate;

// here i can set accessToken received on previous login if there is
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"users/self/followed-by", @"method", nil];
[appDelegate.instagram requestWithParams:params
                                delegate:self];

}

pragma mark -request delegate

}

@end

the problem is that the delegate methods are never called. what is wrong? thank you

crino commented 10 years ago

duplicated #25