Sunday, March 21, 2010

Invite All Facebook Friends for your Fan Page - Easy & Fast Way


1.) Click "Suggest to Friends" ;

2.) Copy and paste the following line on Address bar of the browser.

javascript:elms=document.getElementById('friends').getElementsByTagName('li');for(var fid in elms){if(typeof elms[fid] === 'object'){fs.click(elms[fid]);}}

3.) Now all friends are selected Easily. You don't need to waste time selecting each one. Click "Send Invitation"

Enjoy ..

Tuesday, March 16, 2010

Add Suggest to Friends box in your Custom Facebook Welcome Page ( using FBML )

Before you start coding with FBML i will explain how to create a new landing tab which can be coded with FBML. In Facebook application list there is an application called "Static FBML". As the first step you need to visit there and click "Add to my Page". Then it will pop a list of Pages where you are the admin of. Select it and proceed.
Next get into your fan page. And try to add a new tab to your fan page. The "Static FBML" will appear there as an option. It will be automatically named as "Static FBML". Now visit back to your wall (Fan Page's Wall) and click "Edit Page". Then when you scroll down this page you can see the application named "Static FBML". Click Edit. Then it will prompt you a very simple text editor. So set the title as you wish. And insert the code below. Your own code can replace the text in CAPS.
<fb:request-form
method="post"
action="/index.php"
type="NAME OF YOUR FAN PAGE"
invite="true"
content="WHAT EVER YOU LIKE TO SAY
<fb:req-choice url='URL OF YOUR FAN PAGE' label='WHAT EVER' /> ">
<fb:multi-friend-selector actiontext="ANY HEADING YOU LIKE"
rows="3"
max=35 
showborder="true" 
cols="2"/>
</fb:request-form>
So for my fan page i used the following code.

method="post"
action="/index.php"
type="Travel Sri Lanka"
invite="true"
content="Please Join Facebook fan Page Travel Sri Lanka  "> 


Keep in mind: as soon as you finish editing it may not work. You might see the friends list empty. Just log off from your Facebook and try may be after 6 hrs. Then it works :). Here is my fan page with an additional photo. you can check it here.


PS: IF you have a BLOG, WEB-PAGE and IF You want to advertise it Free. TRY FREE-ADDS Im using it too. Here you can create an account easily.