Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

Twitter API using Download Tool

5 - Atom

Hi,

 

I have been trying to retrieve tweet information using Twitter API and download tool.

I have processed the URLs from my mail, stripped out the tweet ids and appended it with the API url, also supplied the necessary Authorisation tokens in the header tab of the download tool. However, I keep receiving this error: {"errors":[{"code":215,"message":"Bad Authentication data."}]}

 

It's very frustrating to know you are one step away from cracking this but can't figure out what is going wrong.

I know I'm one step away because it works on Postman as the headers are automatically populated when I click on encode params.

I also looked into Twitter documentation and made sure the syntax for the string is right.

https://developer.twitter.com/en/docs/basics/authentication/guides/authorising-a-request.html

 

Has anyone solved this before?

Kindly help :)

Appreciate your contribution.

 

 

Connection.PNGPayload.PNGHeader.PNGBasic.PNG

Highlighted
Alteryx Certified Partner
Alteryx Certified Partner
So I'm not sure why you are using the payload tab on a GET request.

I'm not sure why your headers include quotes; I think alteryx will automatically generate that.

Also no idea why you are adding a username and password on the final tab.

Theres a few examples of Twitter connections on the alteryx gallery, a few developed by myself.

Dive into these and how I've built them and I'm sure it will help move you in the right direction.

https://gallery.alteryx.com/#!app/Get-Twitter-Followers/5a44b8dceffc2a0f5896548f

Ben
Labels