facebook developer garage mobile & facebook

Post on 20-Jun-2015

1.809 Views

Category:

Technology

5 Downloads

Preview:

Click to see full reader

DESCRIPTION

Facebook is having fun with 200 Million mobile users. How can YOUR app make users have fun leveraging Facebook?Facebook Developer Garage London - March 2011

TRANSCRIPT

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/

?

Thanks!

Enjoy SaintPatrick’s!

@fabiobetaf.bertone@reply.eu

top related