Facebook Application(アプリケーション)の開発を理解したい


Facebook Applicationを作ろうかと。

そんで調べたらこれがひっかかった。



■Facebook Applicationの作り方

http://blog.enjoitech.jp/detail.php?aid=132



基本的にここで書かれていることを途中まで実行すればうまくいくんだが、

バージョンが上がったのか、なんだか違う。



そんで他を調べてみた。

どうやら2つのアプリケーション開発方法がある模様。

・IFRAMEで自分が作成したウェブページをそのまま表示する感じ。

・Facebook上でCanvasを作成する感じ。

・その他?



で時間が無いからとりあえずIFRAMEを選択した。

「Edit Settings」で「Use iframe」を設定する。



index.phpを作成して、ただHTMLを書いてみた。

<div style="padding: 10px;">
  <h2>This page is Mikuriya's application.</h2><br/>
  <hr/>
  <div style="clear: both;"/>
</div>

それで、アプリケーションのURLへ接続した。





IFRAMEの参照先はここ(リンク切れの可能性あり)

無料レンタルサーバだから広告出ちゃってるよ、うける。

本当にIFRAMEがそのまま出るんだね。

なんだか面白そうなので、今後いろいろやってみたい。

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <img localsrc="" alt="">

Comments links could be nofollow free.