Loading...

Blog

Tell Your Friend Form for FBML Tabs

By popular demand, our Facebook viewers wanted to know how we were able to place the FBML “Tell Your Friend” form on one of our custom Facebook tabs. Now we are here to show you!

The Code

Plain and simple, this is the code that you will need for the form:

FBML

<fb:request-form  method="post" action="http://fb.me/yourpage" type="Friends" invite="false" content="<fb:req-choice url='http://www.facebook.com/yourpage' label='GO' /> " >
<fb:multi-friend-selector actiontext="Tell your friends about your FBML tab!" cols="3" showborder="true"  />
</fb:request-form>

There are three things within you need to change in order to make this form yours.

  • action=”http://fb.me/yourpage” – Replace this with the short URL of your fan page.
  • url=’http://www.facebook.com/yourpage’ – Replace this with the full URL of your fan page.
  • actiontext=”Tell your friends about your FBML tab!” – This is the title that will be shown inside the actual form. Change this to your own personal call out.


That’s it! You should now have the form on your FBML tab. Simple as that! Remember action must be a short URL.

FBML vs. iFrame

As of right now, we are not aware of how to implement this form into iframes. If anyone know how to, please share in our comments below.

Leave a Comment

11 comments
Ahsan
Ahsan

plz add send invititation button in the bottom instead of send friend request

financial planning association Georgia
financial planning association Georgia

It is very nice thing, which is added in the Face book. I like this option. You have explained well the whole process. I have activated this code in my FB account. Thanks a lot.

Rob
Rob

Hi, Great tutorials about FB Fanpages! Do you know how I can get the FBML page to show up first instead of the message wall when they go to the fan page? This is the one I'm working on: http://www.facebook.com/apenkooi

Aniruddh
Aniruddh

Thanks for this post but I am having a problem, when i select my friends and invite them i am getting a dilaog box showing the statement : " Out of Requests Sorry, you have run out of requests to send with this application. Please try again tomorrow." How do i resolve this ??

Hendra Ndra GreenHeart
Hendra Ndra GreenHeart

Thank you very mucsh, no matter what I'm waiting for this tut about Faceook FBML in this site. DaddyDesign, you rock.

daddydesign
daddydesign

Facebook use to Allow unlimited request, then they went down to 12, then 8 and now they only 3 a day.

Aniruddh
Aniruddh

But I can't invite my friends even now, i am getting an error message everytime i select 3 friends and click one invite ?? Please help me ?

simon
simon

Same problem here. Has anyone found a solution to this? Thanks!

Creighton
Creighton

Has anyone found the answer for this? I've been scouring the vast corners of the internet for far too many hours today trying to figure out what I assumed I was doing wrong... but I've now seen several instances of forum references to this "unknown" error that imply that I'm not the only one receiving the message that I have hit my requests limit for the day, when in fact, NO requests have been sent. So what's the deal? Did Facebook mysteriously and quietly stop allowing folks to use this form?

daddydesign
daddydesign

Hmm, I see the same issue now. Facebook must of changed something or stopped the use of this form. :( I will do some research...

Pascal
Pascal

Firstly awesome posts - some really useful stuff for someone that really has no idea how to fiddle with facebook pages so thank you. But I'm struggling - I've got this invite box in a FMBL tab but when anyone tries to invite even 1 friend they get the same out of requests message that Aniruddh has witnessed. Not sure where to go from here.