My question is simple: How do i hide the warning message below so that users don't see it? It appears at the top of my site from time to time.
Warning: file_get_contents(https://graph.facebook.com/oauth/access_token?client_id=*****************&redirect_uri=&client_secret=******&code=*************************************************************************************) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in /home/content/**/*******/php/facebook/facebook-login.php on line 17
I am not worried about the warning as it doesn't seem to affect the functionality of my site and it only happens because the facebook token has expired.
I have tried for hours to resolve it properly by auto-renewing the expired token but had no luck.