Trouble getting twurl utility working with Ads API


coreyf@frewbook-pro /tmp> gem i twurl --source
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 /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

@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?


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.


Thanks for being patient through all my frustration :slight_smile:


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

closed #7