Facebook Connect for iOS: dialogDidComplete response differentiation
Posted
by
Oh Danny Boy
on Stack Overflow
See other posts from Stack Overflow
or by Oh Danny Boy
Published on 2010-12-10T18:10:46Z
Indexed on
2010/12/21
15:54 UTC
Read the original article
Hit count: 348
ios
|facebook-connect
I was wondering how to differentiate between the user tapping submit or skip in the inline post-to-stream FBDialog. Anyone know what to test for?
I am using the latest iOS Facebook Connect in a iOS 4.2 environment.
/**
* Called when a UIServer Dialog successfully return.
*/
- (void)dialogDidComplete:(FBDialog *)dialog {
if user tapped submit and post was successful
alert user of successful post
if user tapped "skip" (cancel equivalent)
do not display alert
}
© Stack Overflow or respective owner