look at FHSTwitterEngine , you can use the new FHSTwitterEngine, and if you request this method without authentication, the user status will be deleted ... you must send the consumer key and token along with screen_name .. In FHSTwitterEngine
//get username pass to method. In Dictionary you can get all info NSString *username = [[FHSTwitterEngine sharedEngine]loggedInUsername]; NSDictionary *data=[[FHSTwitterEngine sharedEngine]getUserProfile:username]; // method to get all user info -(id)getUserProfile:(NSString *)username { if (username.length == 0) { return getBadRequestError(); } NSURL *baseURL = [NSURL URLWithString:url_users_show]; OAMutableURLRequest *request = [OAMutableURLRequest requestWithURL:baseURL consumer:self.consumer token:self.accessToken]; OARequestParameter *usernameP = [OARequestParameter requestParameterWithName:@"screen_name" value:username]; NSArray *params = [NSArray arrayWithObjects:usernameP, nil]; id userShowReturn = [self sendGETRequest:request withParameters:params]; return userShowReturn; }
source share