Más contenido relacionado Similar a FDGL, Simon Cross - Cross-platform authentication Similar a FDGL, Simon Cross - Cross-platform authentication (20) FDGL, Simon Cross - Cross-platform authentication1. Cross-platform
Authentication
Simon Cross | Platform Partner Engineer
Wednesday, July 20, 2011
2. Canvas Page Tabs Mobile YourSite.com Devices
Applications
One application, many touchpoints
Graph API & FQL
Dialogs Social Plugins
Feed, Send, Pay, etc Like, Send, Comment etc
Authentication & Permissions
Connect, Oauth & SSO
Users & Social Graph Credits Likes & Interests Ads News Feed
Facebook Data ,Products and Social Channels
Wednesday, July 20, 2011
4. Instant Sign-in on yoursite.com
<html>
<head>
<title>My Actual Website</title>
</head>
<body>
<div id=”fb-root”></div>
<script src=”http://connect.facebook.net/en_US/all.js” />
<script>
FB.init({
appId:‘YOUR_APP_ID’, cookie:true,
status:false, xfbml: false
});
FB.getLoginStatus(function(rsp){
if (rsp.session) {
alert(rsp.session.uid);
// sign the user in!
}
});
</script>
</body>
</html>
Wednesday, July 20, 2011
6. Things to remember:
1 App ID Use it everywhere
1 User Follow their journey across your
product’s platform touchpoints
As long as the user is signed into
Works Every Time Facebook, you’ll know who they are
Wednesday, July 20, 2011