titanium-ios-facebook icon indicating copy to clipboard operation
titanium-ios-facebook copied to clipboard

using share dialog

Open paomosca opened this issue 10 years ago • 3 comments

please provide some documentation or some example about using share

a very common use is sharing a local picture, but i it's not clear how to manage local files

bye! tnx

paomosca avatar Oct 01 '14 07:10 paomosca

The doc currently shows how to share a status, link, or graph action. Sharing photos has yet to be implemented, but should be very straight forward by just following the current patterns inside the proxy code. (for both Android and iOS modules)

mokesmokes avatar Oct 01 '14 12:10 mokesmokes

Hello,

fb.share({}) works perfectly But how can I get the callback from return of that dialog? (did user cancel, did user success in sharing ...? )

I'm very appreciate your answer! Thanks!

tvpsoft avatar Dec 30 '14 17:12 tvpsoft

Not yet implemented, see https://developers.facebook.com/docs/ios/ui-controls/#share-handlingresponses You will see a post or cancel in the dictionary completionGesture only if the user is logged in with the app, which is not a requirement for the Share Dialog.

mokesmokes avatar Dec 30 '14 20:12 mokesmokes