2010-11-25 8 views

答えて

3

を変更しました。 iframeを使ってアプリケーションを作成したように見えるので、fb:likeボタンを作成することができます。あなたがそれを好きときに、舞台裏、などが登録されている

http://apps.facebook.com/porscheevent/tab.php

:それから、彼らはいくつかのFBMLをレンダリングすることはiframeアプリへのタブのアプリケーションを指摘しました。ページを更新するまで、実際のボタンの上端は変更されません。

タブアプリケーション自体は、同様に、ボタンの内容を隠し、自分のものと交換し、その後にいくつかのCSSを追加しているようだ:彼らはFBを使用しているのiframeアプリで

<style type="text/css"> 
.app_content_172346812791398 div.comment_body { display: none; } 
.app_content_172346812791398 span.liketext { display: none; } 
.app_content_172346812791398 span.piece { display: none; } 
.app_content_172346812791398 span.corner_mask { display: none; } 
.app_content_172346812791398 a.like_button_no_like { border: 0px none #ffffff; margin: 0px ! important; padding: 0px; background: transparent none no-repeat scroll 0% 0%; left: 0px ! important; top: 0px ! important; width: 124px; height: 25px; text-indent: -99999px; } 
.app_content_172346812791398 div.connect_widget_sample_connections { display: none; } 
.app_content_172346812791398 div.connect_confirmation_cell_like { display: none; } 
.app_content_172346812791398 div.connect_confirmation_cell_no_like { display: none; } 
.app_content_172346812791398 div.bgpage { border: 0px none #ffffff; margin: 0px; padding: 0px; background-repeat: no-repeat; width: 520px; height: 525px; } 
.app_content_172346812791398 div.button { border: 0px none #ffffff; margin: 0px; padding: 0px; background-repeat: no-repeat; background-position: center bottom; cursor: pointer; } 
.app_content_172346812791398 div.button:hover { background-position: 0pt 0pt; } 
.app_content_172346812791398 a.like_button_no_like { display: block; background-image: url("http://platform.ak.fbcdn.net/www/app_full_proxy.php?app=172346812791398&v=1&size=o&cksum=b66bf4a27297d44a6672defc61932d66&src=http%3A%2F%2Ffacebook.porsche.com%2Fevent%2Fimages%2Flike.png%3F6"); background-position: center bottom; } 
.app_content_172346812791398 a.like_button_no_like:hover { background-position: 0pt 0pt; } 
</style> 

:コメントプラグイン(持っていますそれにLikeボタンを押して)facebookページにreturnurlを設定します。彼らはコメントのすべてを隠し、コメントを無効にします。あなたはそのスタイルのノードを検査し、それを削除した場合、表示内容に見える;)

alt text

だから、基本的には、FB許可していないFacebookのを回避している:ではiframeをFBML を使用して、投げることによって、タブのアプリケーションのようにレンダリングされた後のカスタムスタイルもあります。おそらくFacebookのTOSに対してですが、確かに彼らはポルシェを手に入れていると確信しています;)

0

あなたはアプリを作成してfbiframeのようにそれを欲しがっていることを示すことができますそれはPHPのように、いくつかのディナミックなものもやっている。