Trouble getting twurl utility working with Ads API

api-access
authorization

#1
coreyf@frewbook-pro /tmp> gem i twurl --source http://rubygems.org
Successfully installed twurl-0.9.3
Parsing documentation for twurl-0.9.3
Done installing documentation for twurl after 0 seconds
1 gem installed
coreyf@frewbook-pro /tmp> twurl authorize --consumer-key [my consumer key] --consumer-secret [my secret key]
Go to [url here] and paste in the supplied PIN
[pin here]
Authorization successful
coreyf@frewbook-pro /tmp> twurl -H ads-api-sandbox.twitter.com /0/accounts/
{"errors":[{"code":"UNAUTHORIZED_CLIENT_APPLICATION","message":"The client application making this request does not have access to this API"}],"request":{"params":{}}}

Why does my client not have access to this API?


Can't connect to the Twitter Ads API
Authorization problem
Authorization problem
Can't connect to the Twitter Ads API
#2

@frewsxcv I’ve just confirmed via your app ID (provided in your Github issue) that as the message states, your app does not have access to the Ads API. This is the correct behavior for apps that aren’t part of the Ads API partner program.

The Twitters Ads API partner program is not broadly available to all developers. Have you applied for access and been accepted?


#4

Yes, you’re absolutely right. A bit of miscommunication with my manager caused me to be using the wrong Twitter App credentials. Switching to the right ones fixed this issue for me.


#5

Thanks for being patient through all my frustration :slight_smile:


#6

@frewsxcv not a problem. Glad we could get to the bottom of it.


closed #7