xcode - IOS Facebook SDK : what wrong with sharerDidCancel:(id<FBSDKSharing>)sharer delegate? -


i use facebook sdk worked except delegate "sharerdidcancel:(id)sharer".

when cancel share native dialog fb app, delegate "sharer:(id)sharer didcompletewithresults:(nsdictionary *)results" called ? can't handle users when post or cancel dialog share, bug of facebook sdk ios ?

thanks helping!

i've been digging through facebook sdk docs , found this:

sharer:didcompletewithresults: when user shares. furthermore there postid key in results dictionary if user gave app publish_actions permissions. if user has not logged in facebook login, method called if user clicks on cancel.

so, unless you're logged in, checking cancel won't work (which rubbish). looks might able give permissions , check postid though.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -