How can I get the Twitter email id list in the iPhone sdk?
I'm using MGTwitterEngine and when I try the following method:
NSString *str2 = [_engine getUserInformationForEmail:@"yw8181@gmail.com"];
NSLog(@"User Email Id:--->%@",str2);;
so its return 0E156D0F-3E56-4935-9BE9-2A34786545ED so how can i display in tableView
I'm not getting email id list, please help me solve this issue.
What happens when you log it?
I'm guessing that it doesn't return an NSString, but another datatype like an NSArray? Try this:
NSArray *myArray = [_engine getUserInformationForEmail:@"yw8181@gmail.com"];
for (NSString *item in myArray) {
NSLog(@"%@",item);
}