soham
soham

Reputation: 1676

Getting error when setting up local environment for Facebook app via Heroku

I have made all the set up that is needed for developing a Facebook app locally via Heroku in PHP.

But after all the things I am getting an error like this: Facebook SDK Not Found Error

I understood that the error is for not finding the facebook.php file within sdk folder. But problem is how to get that one. As I didn't receive anything from Heroku. So how to get that one?

Upvotes: 0

Views: 182

Answers (1)

Conversation Company
Conversation Company

Reputation: 285

Heroku loads the sdk asynchronously when you are developing on Heroku server. For local development, you need to git clone the sdk. You can find the sdk in this location: https://github.com/facebook/facebook-php-sdk

Clone the sdk into your app folder and it should work fine.

Upvotes: 3

Related Questions