Support » Plugin: Feed Them Social - Facebook, Instagram, Twitter, Vine, Pinterest, etc » Getting Warning: file_get_contents… Error?
3 years, 4 months ago
If you are seeing an error similar to this then one of 2 things is the problem.
Warning: file_get_contents(https://graph.facebook.com/5498799349991114?access_token=3758416994002335|ks3AFvyAOckiTA1u_aDoI4HYuuw) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in /home2/slickremix/public_html/openlets/wp-content/plugins/feed-them-social/feeds/facebook/facebook-feed.php on line 49.
1. You are trying to test Feed Them Social on your local server. Our plugin will only work if you are on a live server.
2. You have allow_url_fopen = Off in your php.ini file. Please see this post on how to fix that, it’s Very Easy. http://wordpress.org/support/topic/nothing-showing-on-your-page-after-adding-shortcode?replies=1
I’m trying to get a feed from Facebook group of which I’m a member. I’m getting same message as per above, i.e.
Warning: file_get_contents(https://graph.facebook.com/164295143620480?access_token=226916994002335|ks3AFvyAOckiTA1u_aDoI4HYuuw) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in /home3/shocfc/public_html/wp-content/plugins/feed-them-social/feeds/facebook/facebook-feed.php on line 49
Checked all_url_fopen and it is “On”.
Are there any settings at the FAcebook end? i.e. if it’s not a public group will that cause this issue?
Thanks for your help
Yes your group must be public too.