Facebook developer garage mobile & facebook
-
Upload
fabio-bertone -
Category
Technology
-
view
1.809 -
download
5
description
Transcript of Facebook developer garage mobile & facebook
Facebook for your Mobile App
Why, What and a bit of code
People are using (a lot) Facebook on Mobile.
• Avoid the problem. No password to store, no lost password...easy!
• If Facebook is already on board, you get SSO. If not, friendly downgrade
Tech
iPhone: • https://github.com/facebook/facebook-ios-sdk• http://developers.facebook.com/docs/guides/mobile/
Graph API[facebook requestWithGraphPath:@"me/friends" andDelegate:self];
request:didLoad - method for successful requests request:didFailWithError – for failed ones
Tech
Android:• https://github.com/facebook/facebook-android-sdk• http://developers.facebook.com/docs/guides/mobile/
Graph API
facebook.request("me/friends");
Use AsyncFacebookRunner
Sometimes you really need your users to register (Law, data that Facebook doesn’t have...)
The Registration Social Plugin comes to help http://developers.facebook.com/docs/plugins/registration/
Let’s jump to the example:http://dl.dropbox.com/u/121318/registration.htmlview-source:http://dl.dropbox.com/u/121318/registration.html
• Pre-populated fields• Additional fields in friendly Facebook style• Captcha• Control on information flow
This is the next Cool Thing
Graph API + RealTime updates
Starting points
http://developers.facebook.com/docs/guides/mobile/
http://developers.facebook.com/docs/plugins/registration/
http://developers.facebook.com/docs/api/realtime/
?