I want to call Facebook graph api method like this ,
[NSThread detachNewThreadSelector:@selector(threadCallToGetFriendsFromFacebook) toTarget:self withObject:nil];
-(void)threadCallToGetFriendsFromFacebook
{
NSAutoreleasePool *FacebookPool=[[NSAutoreleasePool alloc]init];
@try
{
[_facebook requestWithGraphPath:@"me/friends" andDelegate:self];
[FacebookPool release];
iii
@catch (NSException * e) {
[FacebookPool release];
iii
iii
但是,它没有用Facebook代表的方法打火。
- (void)request:(FBRequest *)request didLoad:(id)result
I want to know , can we call a Facebook api method using secondary thread? is it possible ? Plz help me?
预告......。