Friday, May 23, 2008
Sandbox for New Facebook Pages, Revised Chapter 15 App
Facebook has launched a sandbox for developers to test out the new profile pages. You need to be a Facebook developer to use it (see Chapter 12, page 192, "Get Started As a Facebook Developer).
There are more changes to come in the next few days, but we're getting ready. The code for Chapter 15 (the final version of the book's app) has been on the downloads page since the book was published. A revised version was posted six weeks ago: it uses the PHP5 libraries (rather than PHP4). In addition, on the back end, we've switched to MySQL 5. There are no changes to the code except for pointing to different libraries (and those pointers change depending on which environment you're in and where your files are located).
The first step of the change to the new profile pages is another app you can play with. You can find it at apps.facebook.com/developmentqa. At the moment, it is EXACTLY the source code of the PHP 5 version of Chapter 15, and it works without changes on the beta version of the new profile pages in the sandbox.
As the new profile page APIs are incorporated into the sandbox, I'll be adding their functionality to the app and will make the source code available for downloading in addition to the regular download files. The timing of this is totally dependent on the Facebook timing. My guess is that we'll wind up with updates no more than once a week for the Chapter 15 example. Details of the updates and the source code will be on http://www.jesses-social-networking-site.com/. If you subscribe to the Atom feed at the bottom of the page, you'll get the updates in your news reader, browser, or email program as soon as they're posted. Postings from that blog also show up as notes on the book's Facebook page.
If you want to follow along with the example, my suggestion is to download the Chapter 15 (revised) files from the downloads page. Then you can just add in the changes as they come along.
There are more changes to come in the next few days, but we're getting ready. The code for Chapter 15 (the final version of the book's app) has been on the downloads page since the book was published. A revised version was posted six weeks ago: it uses the PHP5 libraries (rather than PHP4). In addition, on the back end, we've switched to MySQL 5. There are no changes to the code except for pointing to different libraries (and those pointers change depending on which environment you're in and where your files are located).
The first step of the change to the new profile pages is another app you can play with. You can find it at apps.facebook.com/developmentqa. At the moment, it is EXACTLY the source code of the PHP 5 version of Chapter 15, and it works without changes on the beta version of the new profile pages in the sandbox.
As the new profile page APIs are incorporated into the sandbox, I'll be adding their functionality to the app and will make the source code available for downloading in addition to the regular download files. The timing of this is totally dependent on the Facebook timing. My guess is that we'll wind up with updates no more than once a week for the Chapter 15 example. Details of the updates and the source code will be on http://www.jesses-social-networking-site.com/. If you subscribe to the Atom feed at the bottom of the page, you'll get the updates in your news reader, browser, or email program as soon as they're posted. Postings from that blog also show up as notes on the book's Facebook page.
If you want to follow along with the example, my suggestion is to download the Chapter 15 (revised) files from the downloads page. Then you can just add in the changes as they come along.
Subscribe to Posts [Atom]