Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

Class 'InstantArticle' not found #11

Closed
jshamley opened this issue Mar 28, 2016 · 2 comments
Closed

Class 'InstantArticle' not found #11

jshamley opened this issue Mar 28, 2016 · 2 comments

Comments

@jshamley
Copy link

I've followed the installation directions but am running into issues.

When I run composer install I get the following output:
Loading composer repositories with package information Installing dependencies (including require-dev) from lock file Nothing to install or update Generating autoload files

Then after requiring the vendor/autoload.php file the InstantArticle class is not found.

@simonengelhardt
Copy link
Contributor

Thanks for checking out the SDK 👍

Have you tried using the full namespace Facebook\InstantArticles\Elements\InstantArticle? You can do this in-line or by including with the use operator.

@jshamley
Copy link
Author

Thanks so much for the quick response, I knew it had to be something simple! :)

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

No branches or pull requests

2 participants