[function.file-get-contents]: failed to open stream

Tags: , ,
Posted in dotnet, vb, vb.net | No Comments »

hello
file_get_contents() is returning “failed to open stream” when I call it on a Facebook access_token URL.

Warning: file_get_contents(https://graph.facebook.com/me?access_token=xxxxx) [function.file-get-contents]: failed to open stream: No such file or directory in /home/manorlog/public_html/index.php on line 109

If I try to manually hit the Facebook access_token URL it shows me my persional details

I have also tried this code and verified it works: $foo = file_get_contents(‘http://google.com’); echo $foo Anyone have any ideas why file_get_contents() is failing with the Facebook access_token URL?

how can i solve this issue

Similar:

  1. file_get_contents() failed to open stream: I’m trying to use file_get_contents() to grab a twitter feed, however I’m getting the following warning: failed to open stream: HTTP request failed! HTTP/1.1 400...
  2. How to facebook user’s information. Hi, I am using facebook graph. I am able to retrieve the access_token. Now I want to get info using https://graph.facebook.com/XXXXXXXXX/?access_token=111978178853984|2.1lD7XrS1n7C3UgudmiSpQg__.3600.1279976400-10000XXXXXXXXX|9vJZuRDvlzLhFfGkqGkg92KmDSE. I already multiple ways...
  3. How to generate a file from base64 binary stream tusing java script HiI have converted the whole file content to base64 binary stream using the below java script code. After converting I persisted into the database column....
  4. How to retrieve the facebook oauth 2.0 access_token Hi, I am trying to get the access_token of the logged in facebook user. I get something like this.. url followed by the code i...
  5. Does a Stream from a file contain the source file’s attributes? I’m trying to understand how File attributes such as the Created and Modified dates relate to a System.IO.Stream or System.IO.FileStream to the file. Are these...

Tags: , ,

Leave a Reply