Simple ‘Hello World’ Demo w/ FBML & profile.setFBML();
Download the zip file below to start your own ColdFusion -> Facebook App.
*I included some handy FBML tags and some example API calls (profile.setFBML)
Be sure to look at Setting Up Your First Application first.
Intermediate Demo:
coming soon…
This is the ONLY Facebook Coldfusion library that was able to successfully post FBML to a user’s profile box! Thanks so much Gavin! You saved me hours of time and it was very easily integrated.
As we discussed, I can’t wait to be able to use publishTemplatizedAction as well! I’ll see what I can pull together and I’ll send you any progress I make.
I assume that this is OK, but I don’t think you explicitly say, so I thought I’d check:
Can I incorporate pieces of your demo code into my app? I know I could rewrite it once I know what I’m doing, but it might be nice if I didn’t *have* to.
I hope this isn’t too dumb a question, but…
What’s the difference between the graphic you point to with profileIMG in Application.cfm as opposed to the graphics that Facebook asks you to upload during the app setup process?
OF COURSE THIS IS OK! I put this up here for you!
the images facebook ask you go to your application.php, add.php and on the face of your application when user’s allow it.
my application.cfm image is SPECIFIC to your profile_box.
they have nothing to do with one another.
(and no question is stupid)
[...] Example Downloads [...]
Hey!
Thanks for posting up this info! Good stuff!
I’m just curious, I’ve gone through all of your steps and used your sample code (with my actual data plugged in), and I’m getting a 405 error when I have my callback URL set to ../facebook and a 500 error when I have it set to ../facebook/.
Any ideas?
Thanks!
with facebook, it’s always a good idea to use a full url path. things can get a little tougher when your using relative paths.
it’s good practice to always use a full ‘http://www.facebook.com/ path.
I followed your instructions to the letter but am getting a 405 as follows when facebook calls my server:
Errors while loading page from application
Received HTTP error code 405 while loading http://bellapics.servebeer.com/fbtest/
There are still a few kinks Facebook and the makers of fbtest are trying to iron out. We appreciate your patience as we try to fix these issues. Your problem has been logged – if it persists, please come back in a few days. Thanks!
is there any special way that IIS must be configured to avoid the 405 error?