facebookページにコンテンツ追加する方法 覚書


facebookからiflame内コンテンツ連携するのはhttpsでの接続が必要。

アプリのiflame内での追加に関して仕様変更。
現状はアドレスから直接打たないと追加できない形に。
http://www.koikikukan.com/archives/2011/12/15-015555.php

https://www.facebook.com/dialog/pagetab?app_id=アプリのID&display=popup&next=接続先URL

wordpresのリダイレクトプラグインを不許可にする必要

WordPress側でテンプレート用意(リンクはさせない場合)
?fb=facebookで読み込むテンプレート指定

/******* facebook ファンページ内用 ******/
if($_GET[“fb”] == “facebook”) {
//facebook iframe用テンプレートを読み込み
get_template_part( ‘facebook_iframe’ );
exit();
}

facebook_iframeテンプレートを用意する。
場合によってヘッダー、フッター、CSSを準備。

そんなこんなでまさぐってみた。
http://www.facebook.com/pages/DMT/198730220168420

コメントを残す

メールアドレスが公開されることはありません。 ※ が付いている欄は必須項目です

Your post must include a link to this post.

How does this work?
Write a response on your own website and include a link to this post. Then submit your response’s URL here. Your response may appear here after moderation. To update or remove it, edit or delete your original post and submit the same URL again. Learn more about Webmentions.