• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

I need a bit of help

Custom Title Activated
Loyal Member
Joined
Oct 23, 2005
Messages
6,598
Reaction score
5,565
Hi, my website program i am using only supports HTML coding,
and i want to add a facebook like box/button to the website.
the application that facebook gives me only gives me iframe and XFBML codes.

is there a way to make for me to code the like box/button into HTML?
 
Custom Title Activated
Loyal Member
Joined
Oct 23, 2005
Messages
6,598
Reaction score
5,565
Nope. Why wouldn't you want to use the iframe though, iframe IS html after all.

And xfbml is javascript which has nothing to do with your hosting, so I should definitely work as well.

you see i know absolutly nothing about coding, ill try the iframe! thank you foxxy babe!
 
Ginger by design.
Loyal Member
Joined
Feb 15, 2007
Messages
2,340
Reaction score
653
Hi, my website program i am using only supports HTML coding,
and i want to add a facebook like box/button to the website.
the application that facebook gives me only gives me iframe and XFBML codes.

is there a way to make for me to code the like box/button into HTML?

Sure you can, you only need HTML.

I'll do it for noodz.
 
Custom Title Activated
Loyal Member
Joined
Oct 23, 2005
Messages
6,598
Reaction score
5,565
ha im not doing that.
i worked it out after you told me that iframe is HTML though :p
 
Newbie Spellweaver
Joined
Apr 11, 2008
Messages
61
Reaction score
1
PHP:
<iframe src="http://www.facebook.com/widgets/like.php?href=http://example.com"
        scrolling="no" frameborder="0"
        style="border:none; width:450px; height:80px"></iframe>

All social plugins can be integrated with your site with iframe tags or XFBML tags, special XML tags that can be included in your HTML pages and parsed by the JavaScript SDK. iframe tags don't have any dependencies, but XFBML tags are more flexible because they are not limited to the fixed size of the iframe. Here is the activity feed plugin as an iframe:
PHP:
<iframe src="http://www.facebook.com/widgets/activity.php?site=example.com"/>

and the XFBML equivalent:
PHP:
<fb:activity-feed site="example.com"/>
 
Last edited:
Back
Top