} 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>";