Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Fatal error: Class 'Hborras\TwitterAdsSDK\Forbidden' not found #2

Closed
bpdinteractive opened this issue May 25, 2016 · 2 comments
Closed
Assignees
Labels

Comments

@bpdinteractive
Copy link

On a clean install, I keep receiving this error:

PHP Fatal error: Class 'Hborras\TwitterAdsSDK\Forbidden' not found in /foo/src/TwitterAds.php on line 387

Our account has "Account Administrator" role with our client's twitter accounts.
I'm using a new app for token credentials. Can I use the token from a standard twitter app or am I missing something?

Thanks in advance.

@hborras
Copy link
Owner

hborras commented May 26, 2016

Hi bpdinteractive,

Thanks for your feedback.

First of all, it looks like I didn't declare Error classes in a good way. I've tried to put it all in the same file, but it doesn't work with namespaces declaration I did.

I'll create an update to solve this error.

In the other hand you need an APP (and its credentials) able to work with Twitter Ads.

You need to apply here: https://dev.twitter.com/form/ads-api-access-developer

Thanks

@hborras hborras self-assigned this May 26, 2016
@hborras hborras added the bug label May 26, 2016
@hborras hborras closed this as completed May 26, 2016
@hborras hborras reopened this May 26, 2016
@hborras
Copy link
Owner

hborras commented May 26, 2016

Issue fixed in the new release published a few secods ago

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants