English 中文(简体)
• 如何检查用户是否在Mit的FBConnect点点点点击或发表纽顿?
原标题:How to check whether user has click on skip button or publish button in FBConnect in iPhone?

我已将FBConnect与我的手法结合起来。

Now i want to display a custom alert view if user has publish some post. But i didn t get how to make sure that user has tapped "Publish" button or "Skip" button in dialog box.

Same way i have functionality of post image on wall and i want to check whether image has posted successfully or not.How i can achieve above 2 things?

Plz gv ur answer ASAP. Thnks in advance to all

最佳回答

如果用户发表讲话,那么你就会回头向方道歉。 完成 赞同这样的内容:

fblink://success/?post_id=12345

如果用户使用Syp,你就得票(无员额):

fbconnect://success

问题回答

认为这将为其他人节省更多的时间

-(void)dialogCompleteWithUrl:(NSURL *)url
{    
    NSString *responseURL = [url absoluteString];
    NSLog(@"[%@]",responseURL);
    if ([responseURL rangeOfString:@"post_id"].length>0) {
        ///Publish response received here...
        UIAlertView *feedPostedAlert = [[UIAlertView alloc]initWithTitle:@"Success" message:@"Feed posted to your wall successfully" delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil, nil];
        [feedPostedAlert show];
        [feedPostedAlert release];
    }
}    




相关问题
Code sign Error

I have created a new iPhone application.I have two mach machines. I have created the certificate for running application in iPhone in one mac. Can I use the other mac for running the application in ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

将音频Clips从Peter改为服务器

我不禁要问,那里是否有任何实例表明从Peit向服务器发送音响。 I m不关心电话或SIP风格的解决办法,只是一个简单的袖珍流程......

• 如何将搜查线重新定位?

我正试图把图像放在搜索条左边。 但是,问题始于这里,搜索条线不能重新布署。

热门标签