Hi @jillblaz, yes I can run the request using twurl and that works fine
I still get the error when I run it using my implementation.
For my implementation I’m using oauth with an application key/secret (belonging to a Brandwatch app). My account @jonathansewell owns the ads account and campaign. So I’m authorising the Brandwatch app to use my data via oauth.
Some of the ads API calls work with this implementation, but some give me that error about the application not being authorised.
I’m using node.js and the https://github.com/ciaranj/node-oauth library like this:
var oa = new OAuth(
"https://api.twitter.com/oauth/request_token",
"https://api.twitter.com/oauth/access_token",
appSettings.twitterAppId,
appSettings.twitterAppConsumerSecret,
"1.0",
null,
"HMAC-SHA1"
);
Is there something specific about the oauth for the /stats/ api calls that I’ve missed?
Thanks again!
Jonathan