8. Updating the Profile

Although Facebook has shifted to the stream as the source of what a user is doing, the profile still provides a snapshot into who a user is and what she finds important. Applications can supply profile boxes, application tabs, and info sections that add to this information.

This chapter goes over the constraints and benefits of each profile box type and then shows how to create and update them. The Compliments application will be updated to use each profile feature. We also discuss how to use manage the Facebook cache for Facebook Markup Language (FBML) and images.

Profile Boxes

As discussed in Chapter 1, “Facebook Applications: The Basics,” there are three kinds of profile boxes: Main, Wide, and Narrow. Main profile ...

Get Essential Facebook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.