New Feed response null in iphone using facebook graph Api
I have an two view controllers 1)login 2)post 

1)login is work fine 
here is my code


    -(IBAction)login
    {
    NSString *client_id = @"130902823636657";
    
    //alloc and initalize our FbGraph instance
    self.fbGraph = [[FbGraph alloc] initWithFbClientID:client_id];
    
    //begin the authentication process.....
    [fbGraph authenticateUserWithCallbackObject:self andSelector:@selector(fbGraphCallback:) 
    					 andExtendedPermissions:@"user_photos,user_videos,publish_stream,offline_access,user_checkins,friends_checkins"];
    
    
    }
    - (void)fbGraphCallback:(id)sender {
    	
    	if ( (fbGraph.accessToken == nil) || ([fbGraph.accessToken length] == 0) ) {
    		
    		NSLog(@"You pressed the 'cancel' or 'Dont Allow' button, you are NOT logged into Facebook...I require you to be logged in & approve access before you can do anything useful....");
    		
    		//restart the authentication process.....
    		[fbGraph authenticateUserWithCallbackObject:self andSelector:@selector(fbGraphCallback:) 
    							 andExtendedPermissions:@"user_photos,user_videos,publish_stream,offline_access,user_checkins,friends_checkins"];
    		
    	} else {
    		//pop a message letting them know most of the info will be dumped in the log
    		UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Note" message:@"For the simplest code, I've written all output to the 'Debugger Console'." delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil];
    		[alert show];
    		[alert release];
    		
    		NSLog(@"------------>CONGRATULATIONS<------------, You're logged into Facebook...  Your oAuth token is:  %@", fbGraph.accessToken);
    		
    	}
    	
    }



2) then go to posting i am getting response is null here is my code 

    -(IBAction)getMeFriendsButtonPressed:(id)sender {
    	FbGraphResponse *fb_graph_response = [fbGraph doGraphGet:@"me/friends" withGetVars:nil];
    	NSLog(@"getMeFriendsButtonPressed:  %@", fb_graph_response.htmlResponse);
    }


Here i am getting null response... if this two methods(login and posting) in same controller then  only i get the response 


thanks for advance  




New Feed response null in iphone using facebook graph Api
===

I have an two view controllers 1)login 2)post 

1)login is work fine 
here is my code


    -(IBAction)login
    {
    NSString *client_id = @"130902823636657";
    
    //alloc and initalize our FbGraph instance
    self.fbGraph = [[FbGraph alloc] initWithFbClientID:client_id];
    
    //begin the authentication process.....
    [fbGraph authenticateUserWithCallbackObject:self andSelector:@selector(fbGraphCallback:) 
    					 andExtendedPermissions:@"user_photos,user_videos,publish_stream,offline_access,user_checkins,friends_checkins"];
    
    
    }
    - (void)fbGraphCallback:(id)sender {
    	
    	if ( (fbGraph.accessToken == nil) || ([fbGraph.accessToken length] == 0) ) {
    		
    		NSLog(@"You pressed the 'cancel' or 'Dont Allow' button, you are NOT logged into Facebook...I require you to be logged in & approve access before you can do anything useful....");
    		
    		//restart the authentication process.....
    		[fbGraph authenticateUserWithCallbackObject:self andSelector:@selector(fbGraphCallback:) 
    							 andExtendedPermissions:@"user_photos,user_videos,publish_stream,offline_access,user_checkins,friends_checkins"];
    		
    	} else {
    		//pop a message letting them know most of the info will be dumped in the log
    		UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Note" message:@"For the simplest code, I've written all output to the 'Debugger Console'." delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil];
    		[alert show];
    		[alert release];
    		
    		NSLog(@"------------>CONGRATULATIONS<------------, You're logged into Facebook...  Your oAuth token is:  %@", fbGraph.accessToken);
    		
    	}
    	
    }



2) then go to posting i am getting response is null here is my code 

    -(IBAction)getMeFriendsButtonPressed:(id)sender {
    	FbGraphResponse *fb_graph_response = [fbGraph doGraphGet:@"me/friends" withGetVars:nil];
    	NSLog(@"getMeFriendsButtonPressed:  %@", fb_graph_response.htmlResponse);
    }


Here i am getting null response... if this two methods(login and posting) in same controller then  only i get the response 


thanks for advance  



