How to display your facebook wall posts into your own web site.For a example you can display facebook page’s latest posts into your web site sidebar as “latest posts”. This is actually displaying as rss feeds.You can check my demo how this is implemented.

1-First go to the facebook fan page and copy the page ID from the url.

Get Facebook fan page ID

2-The put the user agent type as following.

3-Replace the page ID in to this rss url.

4-Then get feeds as xml file.

5-Above result is getting xml object and we can get xml data into the array.

Put this all together.

Above example is displaying latest 5 posts.You can change number of posts in the for loop.

Check the demo I have implemented in my fan page of
View Demo>

Download Example (2 KB)