Hello I am using MKAbeFook to get userinfo .... I am sure someone who has used it before can help me out in sorting out my problem.
//first I am adding the request parameter
then I am displaying the paramaters
where I have defined in .h file following objects:
I can see the output for first_name
but I cant see the image
Anybody having any idea what am I doing wrong in the code above ?
Thanks a lot !
//first I am adding the request parameter
Code:
[parameters setValue:@"pic" forKey:@"fields"];
[parameters setValue:@"first_name" forKey:@"fields"];
then I am displaying the paramaters
Code:
[userInfoTextView setText:[NSString stringWithFormat:@"Hello %@", [[[response rootElement] dictionaryFromXMLElement] valueForKey:@"first_name"]]];
[user_profile_pic setImage:[[UIImage imageNamed:[[[response rootElement] dictionaryFromXMLElement] valueForKey:@"pic"]]retain]];
where I have defined in .h file following objects:
Code:
IBOutlet UITextView *userInfoTextView;
IBOutlet UIImageView *user_profile_pic;
I can see the output for first_name
but I cant see the image
Anybody having any idea what am I doing wrong in the code above ?
Thanks a lot !