Wednesday, February 20, 2008
Using FBML
I have been working alongside Kristine today, and she has been figuring out much of the FBML which makes it very easy to display information like profile pictures and names. All you need is the user id as an attribute on many of these fbml tags, and it will be able to generate (for example) the profile picture and name for a user, linked back to their profile. To implement this programmatically, we would need to call the users_getinfo function with username and fields as arguments, then fish the results out of the returned two-dimensional array. We do need to get some of this information programmatically to update the database, but luckily we can avoid much of this in designing the UI. On the google map for example, we hope to be able to put information such as the profile picture and status into an infobox for each point on the map. If we change our minds about how exactly we want it to look, we can manipulate the fbml much more rapidly.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment