Wednesday, April 27, 2011

Publish facebook page status or wall post automatically


Facebook page is now very popular. Many companies and people create facebook page for their own publicity. Suppose your company has 100 products and they want to maintain 100 facebook pages, then isn’t it very difficult to update status all of the pages manually?

In this article, I’ll show and discuss about 2 facebook api, using that you can easily update your facebook page status or publish wall post on that page automatically
I assume that you know how to set cron from hosting admin panel, I also assume that you have intermediate knowledge of facebook application development and their api usage.

fb_page



At first you’ve to setup a new facebook application. In the application setting look Authentication and in the Authentication setting must tick Facebook Pages

fb_app_setting

Now save the api and secret key either in your database or config file.
Update Status or Publish in Wall of your facebook page:
Source Link: http://thinkdiff.net/facebook/update-facebook-page-status-automatically/

Monday, April 18, 2011

Create Informative Textboxes

http://blog.jbstrickler.com/2010/06/create-informative-textboxes/comment-page-1/Create more informative textboxes by placing descriptive information, or “infotips”, about the textbox directly inside of it. This is particularly useful when it is not always desired to place labels next to textboxes such as in a small log in form. Example, Facebook’s log-in page places text inside its fields rather than using labels. When one of the textboxes receives focus, the text disappears; on blur, if nothing is entered then the infotip is placed back.

or another way is-
onFocus="if(this.value == 'location') {this.value = '';}" 
onBlur="if (this.value == '') {this.value = 'location';}"


Source: http://blog.jbstrickler.com/2010/06/create-informative-textboxes/comment-page-1/


Facebook Log in Snapshot