I'm trying out the new cool feature and trying to create some web data connectors but running into some challenges. I've created a WDC running against facebook but I get some error messages from Tableau regarding being unable to handle some events.
If i modify the event handler within the tableauwdc-1.1.0 to filter away events with the origin of facebook it works flawlessly otherwise I get a error popup about JSON.parse(evnt.data) not being able to handle an event triggered by facebook.
The modification that makes it works is within _receiveMessage(evnt) and adding something like the below:
if (evnt.origin.indexOf("facebook") > -1) return;
Should this function really take all events? Or is it a need for a filter like this?
The community team is going through older posts that never received an answer and following up. Are you still searching for a solution to this question? If so, let us know. Otherwise, please share what you've found!