Member • Dec 17, 2011
-
KaustubhOkay, I'm not a Facebook user and have little knowledge of the FBML aka Facebook Markeup Language. How is it different from HTML and HTML 5? I'm guessing it's something to style the way stuff is displayed on FB pages?
-
Member • Dec 17, 2011
i have read some where that apis avaiable for devlopment of application in fbml is meant for facebook only...whatever is embedded in fbml is meant for facebook only.....well they dont use html i suppose....Are you sure? This action cannot be undone. -
Member • Dec 17, 2011
fbml provides certain tools like fb.comments etc...they all can be used to develop fb applications only...Are you sure? This action cannot be undone. -
Member • Dec 18, 2011
update from developers.facebook.com:
We are deprecating FBML. On Jan 1, 2012: FBML will no longer be supported on Platform. June 1, 2012: FBML apps will no longer work. All FBML endpoints are removed. If you are building a new application on Facebook.com, please implement your application using HTML, JavaScript and CSS. You can use our #-Link-Snipped-# and #-Link-Snipped-# to embedded many of the same social features available in FBML.Are you sure? This action cannot be undone. -
Member • Dec 18, 2011
FBML is just like another JavaScript Library, which allows you to use Facebook specific functions at your ease. For eg, if you want to integrate a Like Box to your HTML (am not talking about the iFrame version), you would need to write a lot of codes like, bringing the Facebook's content to your HTML via AJAX and try to give the same colour and appearance. But what if you can do them with predefined stuffs, built by the Facebook people themselves? FB JS API is one, which does the same and FBML is a specific Markup Language, which translates into JavaScript at runtime, easing the work of the Developers. 😀Are you sure? This action cannot be undone. -
Administrator • Dec 18, 2011
Well, my question might be stupid: If it's a JS library, why is it called a 'markup' language?Are you sure? This action cannot be undone. -
Member • Dec 18, 2011
sir what is js library ?Are you sure? This action cannot be undone. -
Member • Dec 18, 2011
Not a stupid question, but a right one. If you are going to use the FBML, you are not going to type JavaScript. Instead, you will be writing the FBML Syntax, which is in no way related to JavaScript. The JS API, then translates the content to the native JS for running! 😀 Hope this clears.The_Big_KWell, my question might be stupid: If it's a JS library, why is it called a 'markup' language?
It is a huge collection of good functions, which are ready to use. 😀 For instance, if you want to make a fade effect using JavaScript, in the (g)olden days, before jQuery (a JavaScript Library) came, we used to do this way:musicfreakmandysir what is js library ?
<script type="text/javascript"> var TimeToFade = 1000.0; function fade(eid) { var element = document.getElementById(eid); if(element == null) return; if(element.FadeState == null) { if(element.style.opacity == null || element.style.opacity == '' || element.style.opacity == '1') { element.FadeState = 2; } else { element.FadeState = -2; } } if(element.FadeState == 1 || element.FadeState == -1) { element.FadeState = element.FadeState == 1 ? -1 : 1; element.FadeTimeLeft = TimeToFade - element.FadeTimeLeft; } else { element.FadeState = element.FadeState == 2 ? -1 : 1; element.FadeTimeLeft = TimeToFade; setTimeout("animateFade(" + new Date().getTime() + ",'" + eid + "')", 33); } } </script>
Whereas now, with the help of jQuery, a powerful JavaScript Library, you can achieve the same effect by:
<script type="text/javascript" src="https://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript"> $(element).fadeOut("slow"); </script>
Did you understand the use of library?Are you sure? This action cannot be undone. -
Member • Dec 18, 2011
so it is java script library were functions are predefined...we jist have to use them....by java script you are referring to java language only which is basically derived from c++...isnt it?Are you sure? This action cannot be undone. -
Member • Dec 18, 2011
one more thing if we use html5 then also we cant use java script isnt it????Are you sure? This action cannot be undone. -
Member • Dec 18, 2011
Java is totally different from JavaScript. Java is by Sun (Oracle). But JavaScript is by Netscape! Just check out the differences between Java and JavaScript here:
https://www.htmlgoodies.com/beyond/javascript/article.php/3470971/Java-vs-JavaScript.htm https://www.dannyg.com/ref/javavsjavascript.html https://en.wikipedia.org/wiki/JavaScript
Are you sure? This action cannot be undone. -
Member • Dec 18, 2011
HTML5 extensively uses JavaScript, if you don't know! 😀musicfreakmandyone more thing if we use html5 then also we cant use java script isnt it????Are you sure? This action cannot be undone. -
Member • Dec 18, 2011
ok then we dont use applets in html5 which is basically developed using java language which is developed by sun......but html5 uses javascript which belongs to net scape.....????Are you sure? This action cannot be undone. -
Member • Dec 18, 2011
am i correct?Are you sure? This action cannot be undone. -
Member • Dec 18, 2011
Applet has been stopped using since XHTML 1.1!musicfreakmandyok then we dont use applets in html5 which is basically developed using java language which is developed by sun......but html5 uses javascript which belongs to net scape.....????
Right! If you would like to add small content of post, please edit the post. 😀 Don't bump, Biggie might not like! 😀musicfreakmandyam i correct?Are you sure? This action cannot be undone.