How to get PhoneNumber of twitter user using OAuthTokens?Plz Rply


How can I get the Twitter following and follower Email id and MobileNo in the iPhone sdk Using MGTwitterEngine?

1 down vote favorite

I’m unable to get the Twitter following and Followers Email id and MobileNo i am using below code for that using below code i am able to get only Twitter following name and Id Please help?

if([[NSUserDefaults standardUserDefaults] valueForKey:@“UseridLoop”]==nil)
urlString = [NSString stringWithFormat:@“”,[[NSUserDefaults standardUserDefaults] valueForKey:@“Userid”]];
urlString = [NSString stringWithFormat:@“”,[[NSUserDefaults standardUserDefaults] valueForKey:@“UseridLoop”]];

NSURLRequest *notificationRequest = [NSURLRequest requestWithURL:[NSURL URLWithString:urlString]];
NSHTTPURLResponse *response;
NSError *error;
NSData *responData;

responData = [NSURLConnection sendSynchronousRequest:notificationRequest returningResponse:&response error:&error];
NSString *dataString = [[NSString alloc] initWithData:responData encoding:NSUTF8StringEncoding];

// NSDictionary *dict = [[NSDictionary alloc] initWithDictionary:(NSDictionary *)[dataString JSONValue]];
// // NSMutableDictionary *globalCelebDict=[[NSMutableDictionary alloc]initWithDictionary:(NSMutableDictionary *)[dataString JSONValue ] ];
// //NSMutableDictionary *globalCelebDictNext=[[NSMutableDictionary alloc]initWithDictionary:(NSMutableDictionary *)[[ globalCelebDict objectForKey:@“GetGroupDetailsResult”] JSONValue]];
// NSLog(@“dict %@”,dict);

SBJSON *json = [[SBJSON alloc] init];
NSMutableDictionary *customDetailDict=[[NSMutableDictionary alloc]init];
customDetailDict=[json objectWithString:dataString error:&error];
// NSDictionary *customDetailDict = [json objectWithString:dataString error:&error];
if (customDetailDict!=nil) {
array=[[customDetailDict objectForKey:@“ids”]retain];

NSLog(@"%d",[array count]);
[[NSUserDefaults standardUserDefaults]removeObjectForKey:@“UseridLoop”];
NSLog(@"%@",[[NSUserDefaults standardUserDefaults]valueForKey:@“UseridLoop”]);

ios xcode email twitter phone


Phone number and email address are not returned by our API.


Hi Taylor,

Thanks for the reply. As you said your APIs don’t provide the contact number and email Id of Followers and followings. So can you please provide me any link or any document for the same. Because It would be more helpful for me.

Alok Kumar,


There’s nothing I can provide you. This data is not available in the Twitter API at all.


is twitter providing any method to post a private message.


please see the link