Hi,
I'm trying to develop algorithm for twitter API - for creating signature: https://dev.twitter.com/oauth/overview/creating-signatures
Do we have something for twitter like this, or is there any macro to calculate HMAC-SHA1 other than calling external program?
Thank you
Martin
I've encountered this same issue and resolved it using the Alteryx R Tool. The package 'digest' contains function hmac() to calculate HMAC-SHA1.
I have been working on some custom .Net tools, one of them includes exposing the various hash algorithms.
See https://github.com/jdunkerley/AlteryxAddIns/blob/master/AlteryxAddIns/HashingTool.cs
Hoping to get this released next week, you are welcome to use it.
Hi Martin,
I'm guessing you may want to do a little more than the in-built twitter tool in Alteryx, hence why you are doing it manually, but you can open that tool up and see how the Authentication is done... just be careful not to save over the top of it. There is also an Oauth Macro on the Engine Works Blog which may give you some ideas.
Kane
Here's another simple example. It requires packages "digest" and "base64enc".