Hi all,
Any way to get a system token with Unix Timestamp, or populate a field with it?
Thank you!!
Solved! Go to Solution.
Heh, I know you have a way, Diego, if you know what I mean.
var timestamp = new Date().getTime();
I know.. but I was trying to save transactions.
Understood! What do you need to use epoch time for where it can't be converted from ISO on the way into whatever system needs it next?
I think I was trying to do something silly, I was trying to generate an Oauth 1.0 header to be used in a Marketo webhook custom header using tokens, so I've got everything so far, Timestamp, Nonce, Keys, but I think that the Signature is not possible due to Hmac-Sha1 crypt, unless something can be done through crypto-js
Upgrade to v16 (/flowboost_v16/run endpoint). crypto-js is exported as FBUtil.crypto. So:
var sig = FBUtil.crypto.HmacSHA1("blahzay","blah");
That's great! ... but any idea why I am getting
{"errorMessage":"ERR: Runtime error (strict mode): TypeError: Cannot read property 'HmacSHA1' of undefined"} |
Also, maybe there's an easier way to integrate with whatever that back end OAuth-secured service is (as in: maybe they have a framework that we can export into FlowBoost directly). Let me know via email.