3

I have integrated gigya in iPhone for log in purpose. It's working fine. Now I need to retrieve the email contacts of the log in user. How to do that in iPhone programmatically?

halfer
  • 19,824
  • 17
  • 99
  • 186
Warrior
  • 39,156
  • 44
  • 139
  • 214

1 Answers1

1

I have finally got it by

[gsAPI sendRequest:@"socialize.getContacts" params:nil useHTTPS:YES delegate:self context:nil];

}

- (void) gsDidReceiveResponse:(NSString*)method response:(GSResponse*)response context:(id)context
{ 
NSString *resMsg = [NSString stringWithFormat:@"\n errorCode=%d\n errorMessage=%@\n response.data=%@\n",   
                    response.errorCode, response.errorMessage, [response.data stringValue]];  
  NSLog(@"gsDidReceiveResponse:\nMethod=%@\nResponse=%@\n context=%@",method,resMsg,context);
}
halfer
  • 19,824
  • 17
  • 99
  • 186
Warrior
  • 39,156
  • 44
  • 139
  • 214