twitter サービスホーム画面作成
#05 ホーム画面を作ってみよう
http://dotinstall.com/lessons/tw_connect_php_v2/21905
を参考に、ログインしたあとのホーム画面を作成
index.php を作成し
require_once('config.php');
require_once('codebird.php');
で設定ファイルとライブラリを読み込む
HTML部分は
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="utf-8">
<title>ホーム画面</title>
</head>
<body>
<h1>ホーム画面</h1>
<p>twitter アカウントでログインしています</p>
<p><a href="logout.php">[ログアウト]</a></p>
</body>
</html>
とする
つぶやき関連はリスト形式で表示するので
<ul> <li></li> </ul>
であとで表示していく