Neden ve ne

0 Cevap

Biraz sıkışmış Im. Ben bir senaryo geliştirildi ve nedense & otomatik URL'leri & dönüştürmektedir.

Bu soruna neden olan satırı:

$accessToken = file_get_contents('https://graph.facebook.com/oauth/access_token?client_id=' . APPID . '&redirect_uri=' . APPURL . 'callback.php&client_secret=' . APISECRET . '&code=' . $_REQUEST['code']);

Ve bu hata raporu dönen budur:

[20-Jul-2010 15:47:35] PHP Warning:  file_get_contents(https://graph.facebook.com/oauth/access_token?client_id=xxxxxxx&amp;redirect_uri=http://apps.facebook.com/xxxxx/callback.php&amp;client_secret=xxxxxx&amp;code=) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request

çizgi 8 / in home/pk1no/public_html/video/callback.php

Komik bir şey aynı komut dosyası özel benim Joyent çalışır, ama benim HostGator üzerinde adanmış değildir. Ben onun tarafından şaşkın biraz değilim.

0 Cevap