I have tried for hours and cannot get metadata INTO my web messenger. I have copied and pasted the web messenger code – I have added a callback to the javascript to fire my function which works. In the function I have tried to send metadata via sendMessage and setConfig – neither works. I cannot use the command line url – must be the script. What am I missing from the API??
Here’s my latest try:
function flowXoReady(){
console.log(‘ready’);
FxoMessenger.on(‘stateChanged’, function(state) {
if (state === ‘connected’) {
FxoMessenger.setConfig({
gburl:‘cal6.nsf’,
})}
});
}