FacebookのメッセンジャーAPIのウェブサイトのHTML出力を読み込もうとしていますが、コードはサーバで動作していますが、facebook api(メッセンジャー)で試してみるとエラーになります。私が得るもの:facebook apiのhtmlページを読むことができません
Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead.
私はfile_get_contents、fopen、readfile、curlを試してみたのと同じエラーが発生しました。
私はhttps://google.comに、カールを使用するときに安全な接続(https)をするウェブサイトを変更しようとした、とエラーメッセージがに変更:
<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="https://www.google.ca/?gfe_rd=cr&ei=SaHbWPOrQXp_JvNB">here</A>.
</BODY></HTML>
そしてstackoverflowのは示しています
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access/
on this server.<br />
</p>
<p>Additionally, a 403 Forbidden
error was encountered while trying to use an ErrorDocument to handle the request.</p>
</body></html>
何私はする必要がありますか?
: