TRANSCRIPT
RadPHP XE – Creating Facebook applications
José León Serna – Embarcadero Technologies
Facebook sucks
• Yes, Facebook sucks!!• API changes constantly• Test servers sometimes hang up• Debugging is very hard
500 million users
•500 million users•500 million potential customers
Overview
• How Facebook application works
Basic application setup
• FBApplication• Render Method
Registering into Facebook
• Application ID and Application Secret• Canvas Page• Canvas URL• Canvas Type• IFrame Size
Database design
• Simple table to store lent stuff• Setting up the DataModule
Requiring the user to be logged
• Use must authorize the application• We can get the ID of the logged user
Developing the Index page
• Title• DBRepeater• Operations
Adding new stuff
• FBFriendSelector• Getting the information to store• Adding the record
Deleting stuff
• Executing the action• Deleting the record
Conclusion
• Facebook opens up a lot of possibilities for applications
• A framework to interact with users• Social plugins
THANK YOU!!
• [email protected]• http://www.joseleon.es• http://twitter.com/qadram