OSDN Git Service

はてブ投稿機能を廃止/トビラにキーワード一覧を戻す/スパム対策の調整/リリースの準備。
[yanmah2/YANMAH2-season2-.git] / login_processor.php
index 31502fe..d978976 100644 (file)
@@ -12,7 +12,7 @@ if (isset($_GET['with'])){
   } elseif ($_GET['with'] == 'haiku') {
        $authorize = 'http://www.hatena.ne.jp/mobile/oauth/authorize';
        // $myjson = 'http://n.hatena.com/applications/my.json';
-       $reqtoken = getRequest('https://www.hatena.com/oauth/initiate', $callback, 'read_public,write_public,write_private', $conkey, $conkey_sec);
+       $reqtoken = getRequest('https://www.hatena.com/oauth/initiate', $callback, 'read_public,write_public', $conkey, $conkey_sec);
   //   var_dump($reqtoken);
        if (isset($reqtoken['stat']) && $reqtoken['stat'] !== TRUE){
          $error = "<p>ログインの初期処理に失敗しました。</p>\n<blockquote>{$reqtoken['error']}</blockquote>";