Download Facebook Video Part 2

I wrote how to download Facebook video Download Facebook video without installing addons in my old post. At that time, Facebook using "embed" tag as displaying their video and it's easy to get original mp4 video from Facebook. Yesterday, one commenter wrote that he cannot download Facebook video regarding the instruction of my previous post. I was confused and cannot understand why he cannot download at all. That's why I've open Facebook video page and reviewed source code of it. Oddly, Facebook don't use "embed" tag as displaying their video anymore and changed their coding for using javascript as displaying. That's why I need to find out how to download original mp4 file of this movie from Facebook again.

[More]

Download Facebook video without installing addons

Before time, I know how to download Youtube video with http://keepvid.com. This site is cool because we can download all types of Youtube video without installing any addons or softwares except Java Applet. Unfortunately, we cannot download Facebook video with this site and I don't know why.

Today, I know how to download Facebook video without installing any addons. Ok, I don't waste your time and let make it short.

[More]

Coldfusion load content like Facebook and Twitter

Today, I've tested how to load content like facebook and twitter when scrolling down at the bottom of document. I feel it's cool and flexible for developers and users. As mention in previous post, don't need to include pagination and don't need to retrieve all data from database.By using like that, we can save our client time to click pagination link and don't need them to worry how many pages he/she already clicked. In this demo, index.cfm is the main page and action.cfm will display the rest of limited records when scrolling down at the bottom of document.

[More]

Load Content like Facebook and Twitter

Today, I found one of the new features of Twitter's new face is loading content while scrolling like Facebook. I feel it's cool and the advantage of using is don't need to fetch all records from database at once and don't need to use annoying pagination feature (I didn't say all pagination are annoying). Here is how they work with jQuery.

view plain print about
1/* Load jQuery from Google API */
2$(document).ready(function(){
3
4 /* Alert the height of content */
5 alert("Current Document Height is : " + $(document).height() + "px");
6
7 function AnotherContent()
8 {
9 /* get current Height of content */
10 var currentHeight = $(document).height();
11
12 /* increase Height of content */
13 var IncreaseHeight = currentHeight + 200;
14 $('#myHeight').height(IncreaseHeight);
15
16 /* Alert the new current height of content */
17 alert("Current Document Height is : " + IncreaseHeight + "px");
18
19 /*
20 if you wanna load another page, use this script.
21 $("#myHeight").load("index.cfm");
22 */

23
24 };
25
26 $(window).scroll(function(){
27 /* Load AnotherContent() function when scroll down to the bottom of page. */
28 if ($(window).scrollTop() == $(document).height() - $(window).height()){
29 AnotherContent();
30 }
31 });
32
33});

view plain print about
1<body>
2 <table cellpadding="4" cellspacing="1" border="1" height="640" width="100%">
3 <tr>
4 <td id="myHeight" valign="middle" align="center">What?</td>
5 </tr>
6 </table>
7</body>

Tagged like facebook

When I started using facebook, everybody can tag their friends' names in photo and after tagging it, Alternate text will occur when mouse-over on this photo. It's very impressive for me and want to know how it's developed. When I deep woring tag of HTML, it's very simple to do like facebook. My idea of how to create this tagged in facebook is:

  • selected A (it's someone or something) choose in this pic
  • note x,y coordinate of A
  • save x,y coordinate and caption of A
  • display this pic by
  • mouse-over on coordinate then display caption

view plain print about
1<html>
2<head>
3<invalidTag type="text/javascript">
4function writeText(txt)
5{
6document.getElementById("desc").innerHTML=txt;
7}
8</script>
9</head>
10<body>
11<img src="b1.jpg" width="145" height="126" alt="Planets" usemap="#planetmap" />
12<map name="planetmap">
13<area shape ="rect" coords ="0,0,82,126" onMouseOver="writeText('The Sun and the gas giant planets like Jupiter are by far the largest objects in our Solar System.')" href ="sun.htm" target ="_blank" alt="Sun" />
14<area shape ="circle" coords ="90,58,3" onMouseOver="writeText('The planet Mercury is very difficult to study from the Earth because it is always so close to the Sun.')" href ="mercur.htm" target ="_blank" alt="Mercury" />
15<area shape ="circle" coords ="124,58,8" onMouseOver="writeText('Until the 1960s, Venus was often considered a twin sister to the Earth because Venus is the nearest planet to us, and because the two planets seem to share many characteristics.')" href ="venus.htm" target ="_blank" alt="Venus" />
16</map>
17<p id="desc">
18</body>
19</html>

Ref for : http://www.w3schools.com/js/js_image_maps.asp

Facebook "Like" API

Now 9:30pm Singapore Time. I saw some websites integrate Facebook "Like" API in their website. I feel it's awesome and can communicate their customers between their websites and facebook. That's why I like to add this API on my so-called website, Planet.com.mm. Using this API is very simple. You need to define your dynamic URL and type of like button. Normally, there are two types of Like API. One is standard and the rest one is count. Standard one can describe detail information (full name) of how many people click on it and show name if your friends also did. Count one is just for count.

It's for standard one

view plain print about
1<invalidTag src="http://www.facebook.com/widgets/like.php?href=[Your Website URL]" scrolling="no" frameborder="0" style="border:none; width:450px; height:23px"></iframe>
If you don't define any value in Layout attribute, default is standard.

For count, use it so.

view plain print about
1<invalidTag src="http://www.facebook.com/widgets/like.php?href=[<em>Your Website URL</em>]&amp;<strong>layout=count</strong>" scrolling="no" frameborder="0" style="border:none; width:450px; height:23px"></iframe>

Facebook Like Plugin for MangoBlog

Today I've created Facebook Like Pluging for MangoBlog. Honestly, it's very simple to install Facebook Like API into your blog without using my plugin. But, using my plugin is easier than by doing yourself. It's just simple plugin and can choose "standard, button_count and box_count" like Facebook API. Oddly, it's my first plugin for mangoBlog. And feel proud of myself of this plugin.

Plugin Name : Facebook Like

Plugin Version : 1.0.0

Owner : Pyae Phyoe Shein

URL : http://www.ppshein.net/assets/content/facebookLike.zip

Top of Page