私は次のコードを持っています:
    $curl=curl_init();      
    $allowAppPostPArams = 'utf8=%E2%9C%93&authenticity_token='.$this->authToken.'&permissions=manage_likes%2Cmanage_relationships%2Cmanage_comments%2C&response_type=code&app_id=d2a4fc6d2751&redirect_uri=http%3A%2F%2FsocialCamFollower%2Findex.php&choice=authorize&commit=Authorize';
    curl_setopt($curl, CURLOPT_POSTFIELDS, $allowAppPostPArams);
    curl_setopt($curl, CURLOPT_POST, 1);
    curl_setopt($curl, CURLOPT_COOKIEFILE, $cookie_file);
    curl_setopt($curl, CURLOPT_COOKIEJAR, $cookie_file);
    curl_setopt($curl, CURLOPT_URL, 'https://socialcam.com/oauth/form_submit');        
    curl_setopt($curl, CURLOPT_REFERER, $urlAppPage);
    curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
    curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20100101 Firefox/17.0');
    curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
    curl_close($curl);
ブラウザのリクエスト:

CURLログ
 
 
問題:CURLが302ではなく200を表示するのはなぜですか?
サーバー:MAMP、Apache2、php5.3.14。セーフモードとopen_basedirが設定されていません。