facebook feed with revolution slider does not work : failed to load stream

1.8k views Asked by At

I got an error while using the facebook feed from slider revolution. It works perfectly when I use it in local but when I launch it in normal url, I got this error : Revolution Slider Error: Failed to load Stream.

Do I have to change something in my .htaccess ou php.ini maybe ? thanks

1

There are 1 answers

7
FluffyKitten On

This error is usually caused by either:

  • A problem with your API credentials or
  • your hosting provider has disabled stream wrappers

Check your error logs for a message like this:

PHP Warning: file_get_contents(https://api.facebook.com[…]): failed to open stream: no suitable wrapper could be found

If you find messages like this, you should contact your hosting provider to enable stream wrappers in the php.ini file.

Ref: https://www.themepunch.com/faq/failed-to-open-stream-5-0/