Home
Username:
Password:
Facebook Application Development Tutorials

Getting Started as a Developer / Uploading & Testing




Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com’s entire library of video tutorials.


Learn More

Subtitles of the Movie

Now just as I had to adjust the Canvas URL for the slightly more complex file structure that I've created here with the two folders within the jfbirds folder, just as I had to do that I'm going to have to make one minor change to the index because I'm no longer looking directly for Facebook.php. I want to go up one level to the jfbirds folder and then back down into the php folder and there I will find Facebook.php. So I have to insert that section here in the Require Statement so that I can get to the Facebook.php file. So if you are using a file structure such as this then remember you may have to adjust your Canvas Page URL and you may have to adjust the Require Once so that you get to the right folder. Now is it worth it? Yes. Because this type of folder structure is maintainable even across very, very large Facebook Apps. Putting everything all together doesn't really work. It's not scalable, so you should get in the habit of using a file structure like this. Now I'm ready. I have everything. I can save this, close that and I have my jfbirds with my two subfolders in them and I can go into Fetch or whatever FTP Client you're using and upload that whole folder and it will upload. The upload of the PHP Libraries can take a little while because there are a number of files in that folder, but you're not going to be doing that very often. So, we'll let the upload complete and then we'll test things out. The upload is finished, so now I'm going to try logging in. Let's see what happens. Everything has been uploaded, the paths have been adjusted and let's see if we can get into our first Application. It's loading now, I'm coming to a login screen because this is the first time that I've used this Application and you'll see that I'm going to have to Authorize the Application. Do I want to allow access to it? I can either Allow it or Cancel. Up here, you see this dotted box? This is the logo that we didn't set. If you set a logo it would appear here. This helps to integrate your application with Facebook. I'm going to allow the Application and now the Application greets me by name and lists the Facebook IDs of people in my Friends List. It works. So just to review what has happened is that we have created an application. We've set it up using the Developer Application. We've given it a name, we've given it the paths, we've given it the minimal information that it needs, we've downloaded the PHP Libraries, we have used the Example Code and made some adjustments for the file structure that we're using to set up this Application, we've uploaded it all, we've tested it and then as a user we have to allow it access to our data so that, for example, it can find the Friends List. And now, you're a full-fledged Facebook Application Developer. But, there's a lot more to take a look at.

Tutorial Information

Course: Facebook Application Development
Author: Jesse Feiler
SKU: 34058
ISBN: 1-935320-81-5
Release Date: 2009-11-23
Duration: 7.5 hrs / 92 lessons
Work Files: Yes
Captions: Available on CD and Online University
Compatibility: Vista/XP/2000, OS X, Linux
QuickTime 7, Flash 8

VTC Sign up & Benefits

  • Unlimited Access
  • 98,729 Video Tutorials (23,265 free)
  • Video Available as Flash or QuickTime
  • Over 1026 Courses
  • $30 for One Month Access
  • Multi-User Discounts Available