muzicafan Posted April 16, 2012 Report Share Posted April 16, 2012 Ma puteti ajuta va rog....Am acest cod $fql = 'https://graph.facebook.com/fql?q=SELECT+uid+FROM+user+WHERE+online_presence+IN+("active", "idle")+AND+uid+IN+(SELECT+uid2+FROM+friend+WHERE+uid1 = '.$ffbid.')+LIMIT+15&access_token='.$access_token.'';$fqlresult = file_get_contents($fql);$f = json_decode($fqlresult, true);$friends = $f['data']['5']['uid2'];si primesc urmatoarea eroare Warning: file_get_contents(https://graph.facebook.com/fql?q=SELECT+uid+FROM+user+WHERE+online_presence+IN+("active", "idle")+AND+uid+IN+(SELECT+uid2+FROM+friend+WHERE+uid1 = )+LIMIT+15&access_token=AAADKYZBUd8xQBANEbG9fBn2eydmANWZA3Ry0DVZAzBGRZB1PaMScRL8qMYEShjkfJ7mHY2vgOGPMlWGEuNzGXYTZBkElJdnSZBBJwe2ySvg3hPKWhwSW1w) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in /var/www/index.php on line 32 Quote Link to comment Share on other sites More sharing options...
novarulles Posted April 17, 2012 Report Share Posted April 17, 2012 parerea mea e ca este din php.ini nu ai allow_url_fopen on. Quote Link to comment Share on other sites More sharing options...