How did Porche add Facebook like button to their fan page?
They also changed the colour http://www.facebook.com/porsche?v=app_172346812791398
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Wow, that’s really confusing, and very sneaky. Looks like they created an application using an iframe, which would allow them to create a fb:like button in it. Then they pointed the tab application to that iframe app which just renders some FBML:
http://apps.facebook.com/porscheevent/tab.php
So when you like it, behind the scenes, the like is registered. You’ll note that the actual button up top doesn’t change until you refresh the page.
The tab application itself seems to add some CSS to then hide the Like button content and replace it with their own stuff:
In the iframe app they are using a fb:comments plugin (which has a Like button on it) and setting the returnurl to their facebook page. They hide all the commenting stuff and disable comments. If you inspect that style node and deleted it, look what shows up 😉
So basically they are circumventing Facebook not allowing fb:like in tab applications by using fbml in an iframe and then throwing some custom styles on top of that after it’s rendered. Probably against Facebook’s TOS, but I’m sure they are all getting Porsches out of it 😉