-
From: Web Host
Fred-
I'm not able to see the example on the facebook fan page you posted. Is this just me, or was there some error in the URL you gave us?
-
-
From: Robert
Very good article, I've been searching for how to do this for some time (I knew it was possible), but thanks for the steps on optimizing a facebook page.
-
From: nikesh
thanks for this aweome post.
One quick issue with the ajax function return value.
If I cut/paste your script "VERBATIM" and click the submit button on my page, I get the ajax response in new page, instead of a message box.
However when I go to your facebook page, which I assume is running the exact same script, I get the function return in a facebook message box.
Do you know what else you did to make the messagebox functionality happen ?
Thanks!
-ns
-
-
From: Lawrence
Thanks for this great post! I had no idea that you could actually optimize your facebook page. I'll be giving this a try.
-
From: Roger
I am anxiously awaiting part 3 of this series...
-
From: danny
hye Fred.
nice posts. thanks to u. thumbs up!
i need to edit the code abit to suit my page.
just want to check with you.
does facebook will take action, if we implement this code. i'm concerned later, my fan page will be deleted?. just curious.
many thanks.
-
From: Suhas
Dear Fred,
Thanks for the info. I am still don't understand how to put our php code in facebook which application I have to use
Just like U have created facebook_comment.php but where u have put it in facebook
So please help me and tell me the procedure of using the php code in facebook application
-
-
From:
Well, Thanks for sharing that facebook fan page share code. I was trying to find out that but cannot succeeded. Thanks Again.
-
From: Nicholas Turbanov
Hey Fred,
Thanks for the tutorial, helped me get my first FBML form done.
But I felt the need to point out that you're missing one crucial piece of markup here and that's the type definition for the script tag, i.e. 'type="text/javascript"'. Facebook didn't acknowledge my script at all until I added the type definition.
Cheers!
-
-
From: TJ
I tried to copy the above tutorial exacltly as it is coded, changing the server and page information of course, and still ran into a snag.
It seems that my server isn't sending the response back to facebook as I am still receiving a new browser page instead of getting the status messages, or the updated ajaxMessage header on the page itself.
any clue as to what I need to have installed or configurations that need to be in place for the messages from my server to be sent back to facebook?
Any help is appreciated.
-
-
From: Locksmith Sports Picks
This is definitely a helpful post. I have created a page on my fan page so the first thing a user sees when they come to it is my newsletter signup box. After all, it's all about the leads right? =)
-
From: asaf
Hello Fred
I was looking for that kind of code for a long time,
I read the "Debugging Static FBML" section at the end of the article few times but still receiving a new browser page instead of getting the status messages.
Any new idea for fixing it?
Thank u
Asaf
-
From: April
I don't have a way to do the facebook_comment.php file on a server. Is there another way?
-
From: amruta
Hi, I had a question about the URL being sent in the ajax.post... can it have a call made to facebook itself? like"http://graph.facebook.com/btaylor" ??
-
-
From: mary
I couldn't get it to work either, until...
instead of this:
<script type="text/javascript"><!-- function submitAjaxForm()
i started function on another line
<script type="text/javascript">
<!--function submitAjaxForm()
-
From: Qamar
Nice article. Thank you very much
-
-
From: Abz
Hey Fred. Great article. But i'm wondering, isit possible to send this form as it is to an email adress once filled out? I want people to fill a particular form and when they click "submit", I want that form to be submitted to an email adress... Isit possible, if so how? Thanks.
-
From: Abz
My bad, I've found it. However, "email to" instead of people writing the email, I want the "email to" section to be already filled with my email. I tried doing it but I didn't manage it. Help please...
-
From: Bunny
Thanks for sharing very useful information. This is very helpful for me. when u will release next topic..see you soon
-
From: Steve
I noticed you published this on May 17th - it is my birthday and I consider your tutorial a great, late birthday present. I have been looking for sometime to customize the look of my Facebook page. Thank you.
-
From: Maria Umar
Hi Fred, I know this might sound stupid but I am a complete html newbie. Can you tell me where exactly I am supposed to enter the first and second code? Is it in my FBML page or .... ?
Thanks in advance. Really appreciate the great posts - keep 'em coming.
Best,
Maria.
-
From: zac
Great stuff! Thank you for sharing this :)
-
From: andrew s.
it is a really good post, though i admit i am a noob in getting html done and in fb fan pages, i don't really know how to work with it, but thanks to you i will start :)
thanks so much,
Andrew.
-
From: ellipsis dive
Hi. Thanks for sharing this information. Cheers:)
-
From: Charlie
Hi there - I'm having an issue with a plain html form in a Static FBML tab.
My tab displays fine in IE and Chrome, (and incidentally the form works fine as well) but firefox is failing to display everything between the and tags.
Without redoing the whole thing are you aware of a workaround to make firefox display the code between those tags?
The page is here: http://www.facebook.com/pages/The-1-4-5s/153832507976409?v=app_4949752878&ref=sgm
And you want the welcome tab (should be the default landing page at the mo). Try viewing it in both IE/chrome and Firefox.
Hope you can help me out - this is driving me insane!
Cheers
Charlie
-
From: jfgrissom
Hi Fred,
Great instruction for Facebook Markup!
I was wondering how people did this...
The form submission has got to be great for your opt-in offers...
Killer post thanks for the info!
Sincerely,
Jay
-
From: Eyad
I have contact.php on my main site but its not working i was trying so hard to get it works
but i dont know how i know it depends on the host i tried to call them and everything they said it works
but not to me at all
so can you help and upload on working facebook_contact.php for us please !
thanks you
Eyad
-
From: shallum
hello this is a very nice tutorial im not a developer ut i want that the visitor should not input the 'TO' email address means thr form only contains followinf fields
Name
email address(visitor)
Message
Submit button
-
From: John
Thanks for the great instruction!
I was having some errors, so I ran it through Dreamweaver to flag up any syntax errors, and it kept saying error on line 32, which was the last return false; in the top script tag. To fix that I just changed:
"!-- function submitAjaxForm()
{ "
to
"!--
function submitAjaxForm()
{ "
The submitAjaxForm function was being excluded, works great now!
-
From: shallum
hello im using this tutorial on page, i used fb:captcha but the problem is that it shows captcha is present but not linked to that form the form submits even captcha is not entered and also tell that how to auto redirect after submitting the form because facebook_comment.php contains the code for sending that form an also thanks or error message if form is submitted successfully it shows the thanks message but after that if refreshed the page it submits another form to email automatically and so on if refreshed several times? im not a developer as i mentioned in my previous post... plz help
-
From: Ben
The last comment from John, is a must. You must make sure the submitAjaxForm() line is not commented out for the callback to work correctly. Thanks for that tip John!
-
From: Shovan
Thanks you for the post. It was useful. I am facing this problem
The Ajax doesn't seem to load within facebook
I entered default email address in the "To Email:" field.. for some reason I don't get the email since then.
Appreciate the tutorial
Shovan
-
From: Andy
test in your script is work, but away to junk mail, let me know how to fix
-
From: leozzz
I think it has problem with IE7
invalid request page is directed, and the ajax call cannot be made
-
From: Laudez
Thank you!! Had the same syntax error as John, now it works a charm. Cheers mate, you all have saved me a lot of heart and head aches ;)
-
From: David
Regarding the junk mail problem, I think it is determined by your server's reliabilty (ip, webfarm, spam records and so on) so there's nothing you can do scriptwise.
I tried the script and it's working fine, but I had to change the submit button from type="submit" to type="button" to avoid redirection to my page.
-
From: romi
Hi,
Thanks for your article & helpful example. I was able to get my fbml form to submit to an asp.net application.
Now I need to upload a file from the static fbml page. I am not getting any file posted to the server, only null object.
I am using a html input file control and change the enctype.
Please help! Thank you!
-
From: Reiki and Chakras
Facebook Fan Pages is very good for marketing your products and services. I really thank for giving such wonderful information.
-
From: montascale
Is this still working with the new Fan Pages Layout?
-
From: Vivekanand Saraswati
Hi.. Fred this code is not working when anybody fill up the form it goto new page(my facebook_comments.php). I also override server code but it still go to another page.
Please suggest me what is wrong with code.
-
From: Chunnu
Dear Fred,
I am very new to these platforms. Just two question I want to ask:
My site is a education information portal. There is a search facility in my homepage.Can I send specific search queries from a facebook form to my search form and show results to user?
OR
I have to create search facility within facebook and I suppose that would be difficult for be because my site is in Joomla and got a large database.
Your help will be appreciated.
Thanks.