Facebook Starter Kit
Project Home • Forums • Wiki • Known Issues • Contact Project
Author: Dominic Watson (All RIAForge projects by this author)
This kit gives you a 'hello world' template for building ColdFusion applications for Facebook. It is very much a barebones project, enabling you to easily modify and add to it and use it in the way you like to build ColdFusion applications. This is deliberate; its purpose it to get you passed the first hurdle of dealing with facebook, leaving the application framework design up to you.
This current release (2.01) is a lightning response to a dramatic change in the way Facebook handles application authorization and I hope to release a fuller version with more in-depth instructions very soon.
To get started, I recommend:
1. Create a new app with facebook through their developer application: http://www.new.facebook.com/developers. Help with this is coming very soon but hopefully it will be self-explanatory.
2. Unpack the facebook starter zip file to your webserver so that its root url is the Canvas Page URL you entered when creating your app with facebook
3. Visit your callback url (ie. myserver.com/myfbapp/. You should see a 'Not authorized' error because the request is not coming through facebook.
4. Visit your canvas url. You should see a hello world app!
From there, I recommend you step through the application logic starting with application.cfc. I've kept things simple to make learning what is going on as easy and painless as possible.
If you run into problems, please post in the forums here.
1.1 -> 2.01
* Using application.cfc and renamed files.
* Updated flow to work with the new Facebook application authorization system (almost complete overhaul).
* Interim update before more thorough changes are made
1.01 -> 1.1
* Added some more facebook specific methods and better encapsulation to the facebook 'client' component
* Code tidying & minimilisation
1.0 -> 1.01
* Renamed application.cfm to Application.cfm
Facebook account with developer application
To enter issues for this (or any other) project, you must be logged in.
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.