Calling Facebook graph api method using secondary thread in iphone
<p>I want to call Facebook graph api method like this ,</p>

<pre><code>[NSThread detachNewThreadSelector:@selector(threadCallToGetFriendsFromFacebook) toTarget:self  withObject:nil];

-(void)threadCallToGetFriendsFromFacebook
{
NSAutoreleasePool *FacebookPool=[[NSAutoreleasePool alloc]init];

@try 
{
    [_facebook requestWithGraphPath:@"me/friends" andDelegate:self];
    [FacebookPool release];
}
@catch (NSException * e) {
    [FacebookPool release];
}
</code></pre>

<p>}</p>

<p>But it didn't fire a Facebook delegate method</p>

<pre><code>- (void)request:(FBRequest *)request didLoad:(id)result
</code></pre>

<p>I want to know , can we call a Facebook api method using secondary thread? is it possible ?
Plz help me?</p>

<p>Thanks in advance.....</p>
