You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the first case ( when i post to facebook) i can see the post but returns cancelled:true ( success should be true?), and when i cancel the post before posting, it's not published and the event returns cancelled:true ( this works as expected....)
I'm doing something wrong? or do i need to configure more permissions on facebook developer? or is anything else needed? Do you need more info ?
Thanks in advance,
Luis.
The text was updated successfully, but these errors were encountered:
luisestudioalfa
changed the title
Event "shareCompleted"
Event "shareCompleted" not behaving correctly
Jan 18, 2016
Hello,
I'm having a problem when i try to share to facebook and use the callback to confirm it.
Titanium sdk : 4.1.0.GA
Facebook Module version : 4.0.5
OSX Yosemite 10.10.1
When the event "shareCompleted" is called after facebook has posted, returns
{"type":"shareCompleted","source":{"loggedIn":false,"invocationAPIs":[{"namespace":"Facebook","api":"createActivityWorker"},{"namespace":"Facebook","api":"createLikeButton"},{"namespace":"Facebook","api":"createLoginButton"}],"accessToken":"","expirationDate":null,"canPresentShareDialog":true,"propertiesDefined":true,"bubbleParent":true,"uid":null,"permissions":[],"_events":{"shareCompleted":{}},"apiName":"Ti.Module","canPresentOpenGraphActionDialog":true},"cancelled":true,"success":false,"bubbles":false,"cancelBubble":false}
And then i cancel the post before sharing it it returns the same:
{"type":"shareCompleted","source":{"loggedIn":false,"invocationAPIs":[{"namespace":"Facebook","api":"createActivityWorker"},{"namespace":"Facebook","api":"createLikeButton"},{"namespace":"Facebook","api":"createLoginButton"}],"accessToken":"","expirationDate":null,"canPresentShareDialog":true,"propertiesDefined":true,"bubbleParent":true,"uid":null,"permissions":[],"_events":{"shareCompleted":{}},"apiName":"Ti.Module","canPresentOpenGraphActionDialog":true},"cancelled":true,"success":false,"bubbles":false,"cancelBubble":false}
In the first case ( when i post to facebook) i can see the post but returns cancelled:true ( success should be true?), and when i cancel the post before posting, it's not published and the event returns cancelled:true ( this works as expected....)
I'm doing something wrong? or do i need to configure more permissions on facebook developer? or is anything else needed? Do you need more info ?
Thanks in advance,
Luis.
The text was updated successfully, but these errors were encountered: