facebook

13
RadPHP XE – Creating Facebook applications José León Serna – Embarcadero Technologies

Upload: jose-serna

Post on 26-Jul-2015

1.368 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Facebook

RadPHP XE – Creating Facebook applications

José León Serna – Embarcadero Technologies

Page 2: Facebook

Facebook sucks

• Yes, Facebook sucks!!• API changes constantly• Test servers sometimes hang up• Debugging is very hard

Page 3: Facebook

500 million users

•500 million users•500 million potential customers

Page 4: Facebook

Overview

• How Facebook application works

Page 5: Facebook

Basic application setup

• FBApplication• Render Method

Page 6: Facebook

Registering into Facebook

• Application ID and Application Secret• Canvas Page• Canvas URL• Canvas Type• IFrame Size

Page 7: Facebook

Database design

• Simple table to store lent stuff• Setting up the DataModule

Page 8: Facebook

Requiring the user to be logged

• Use must authorize the application• We can get the ID of the logged user

Page 9: Facebook

Developing the Index page

• Title• DBRepeater• Operations

Page 10: Facebook

Adding new stuff

• FBFriendSelector• Getting the information to store• Adding the record

Page 11: Facebook

Deleting stuff

• Executing the action• Deleting the record

Page 12: Facebook

Conclusion

• Facebook opens up a lot of possibilities for applications

• A framework to interact with users• Social plugins

Page 13: Facebook

THANK YOU!!

[email protected]• http://www.joseleon.es• http://twitter.com/qadram