My first facebook application

I just finish a very simple facebook application. it is used to show a Chinese Calender in your facebook profile page as a box. You can clearly see Chinese Calender system in this application. If anyone want to try it. Just open http://liduan.com/fb/start

This application is a practice for facebook API. My finial year project is development application base facebook API.

my first facebook application - Chinese Calender system

development a “hello world”application with facebook api

first of all, you need download facebook PHP Client Libraries. Extract package to you work path. open the directory, there are two sub-directory, PHP directory is libraries, you need use it to develop application. and a example directory called foodpoints. Open PHP directory, creating two PHP files - index.php and config.php.

In config.php:

<?php
$api_key = '[API_KEY]';&amp;amp;nbsp; // your apps api key
$secret&amp;amp;nbsp; = '[SECRET_KEY]'; // your apps secret key
$backurl="http://liduan.com/fb/start";&amp;amp;nbsp; your call back web url
?>

Continue Reading »

building a micro blog based on wordpress.

micro blog like twitter is very easy for post personal blog, share your current information with friends via sms, email or client side software. But I like to keep my own data. Twitter doesn’t support export your posts except RSS feed.

Therefore, I have built a micro blog based wordpress. It is most popular blog publishing system. it’s open source project. that mean’s wp can be developed to any content management system. My current micro blog(doing.liduan.com) is using wordpress and Prologue. I will use it to keep detail of my final year project.

Useful Links for ActionScipt tutorial

McCain Vs Obama in google

I just using google search engine and trends compare rate of McCain and Obama. Result is very interesting. If you search McCain or “McCain America” in google search, you can get 134 billion and 38,900 items each. On the same way, Obama and “Obama America” have and 198billion and 78,000 items. google trends can find huge differences between McCain and Obama. Screen shot is in following. Continue Reading »

Useful Links for Flex online tutorial.

If you know more than above links, you can share with us in following as a comment.

[Video]Mobile Robot Assignment

Hello everyone, I just put some video for our mobile robot assignment. There are some other group robot that is work very will.

Continue Reading »

[Picture]Mobile Robot Assignment

Last year, We have this course called “mobile robot”. Aim is program base a Lego Mindstorm NXT robot. robot should be collecting boxes, follow a line, find objects (like box), collecting objects, back to start area, release objects, continues follow a line and collecting box. LEGO Mindstorm NXT robot using Lejos firmware. Java programmer can easily start work in Lejos. It is base on the J2SE.

In robot assignment, 2 or 3 student make a group and work together. they need design and program for robot. Right side’s picture is a robot designed by our group.

Continue Reading »

Good news: DesktopBSD 1.7 coming soon

A first preview version of desktopBSD 1.7 is available in official website. this snapshot version only support i386 machine. it doesn’t support am64 machine. A blog post of Official introduction says DesktopBSD based on the FreeBSD 7.0R (version 1.6 is base on the FreeBSd 6.3RC). and new version actiated some useful addons. But this blog post also warning there will be certainly some problems!

A iso image file has been hosted in ftp server. you can click link of “DesktopBSD Weekly Snapshots”section in this page. I am currently downloading this image file. After that, I will try snapshot and geting screenshot.

Other Desktop distribution PC-BSD (currently in version 1.5, also based in Freebsd 6.3) has no any plan about new version that based in new Freebsd7.

[Part Two]Building a Server with DesktopBSD 1.6(Database Server)

There are a whole lot of Database platform in the IT world. For instance , Oracle, Firebird, Sybase etc. I only choose two of them in this tutorial, they are mysql and postgresql. Mysql is a open source project. It is a most popular database component in the personal hosting service. It can work very well with PHP together. And, postgresql is also a open source project base on the BSD license. It’s an object-relational database system. compare with mysql. postgresql is more powerful feature like Views, Triggers, and Unions. on the other hand, the speed of mysql is faster than postgresql.

The ports system also will be used in building database. make sure your ports system has been update. and versions of mysql and postgresql need be latest.

Continue Reading »