Facebook のドキュメントにある GET リクエストの表記法がわかりません (ここにあります)。
GET /oauth/access_token?
client_id={app-id}
&client_secret={app-secret}
&grant_type=client_credentials
これはApache用語で何を意味し、このようなリクエストをphpでどのように書くのですか? URL が必要な と の両方file_get_contents
を見つけました。http_get
次のような構文:
$response = http_get("http://www.example.com/", array("timeout"=>1), $info);
$homepage = file_get_contents('http://www.example.com/')
これらの機能のいずれかまたは両方を使用できますか? どのように書きますか?これに関する良いドキュメントを見つけるのに苦労しています。