MgTwitterEngine Iphone

Hello I am using mgtwitterengine in iphone to call twitter API. I want to retrive followers name in my iphone. I used textfield.text=[_engine getFollowersIncludingCurrentStatus:YES]; but it is not showing correct result. it only show some alphabets...

could anyone tell me how to do this.

Upvotes: 0

Views: 588

Answers (2)

Amit Battan
Amit Battan

Reputation: 3018

you are using NSLog(@"%@",[_engine getFollowersIncludingCurrentStatus:YES]);

getFollowersIncludingCurrentStatus not responding the result, it returns connection identifier which is DF387EE5-05CE-40E3-A12D-4D016C581233 in your case

your API response will come in this method
- (void)userInfoReceived:(NSArray *)userInfo forRequest:(NSString *)identifier
this is delegate method you have to add this in your class.

Upvotes: 1

good guy
good guy

Reputation: 569

[_engine getFollowersIncludingCurrentStatus:YES]; use like this it may help you, i got the values and printing on console

Upvotes: 0

Related Questions