SlideShare ist ein Scribd-Unternehmen logo
1 von 11
virtual techdays
INDIA │ 22-24 November 2010
Integrating Social Networks with ASP.NET
Krishna Chaitanya T │ Future Web Research Lab, SETLabs, Infosys
WE SOCIAL♄
 Overview of the social web
 Trends, Platforms and APIs
 Enhancing websites with social experiences
 Facebook for websites
 Twitter widgets
 Fun with Facebook’s Open Graph API
 App setup in FB platform
 jQuery + JavaScript SDK
 The oAuth handshake flow
 Implementing FB oAuth using C#
virtual techdays
S E S S I O N A G E N D A
INDIA │ 22-24 November 2010 WE SOCIAL♄
 Trends
 Web 1.0: Static, centralized, users read content, publishing rather than participation.
 Web 2.0: Dynamic, decentralized, AJAX, widgets, sharing, mashups, mobile, real time,
collective minds, interactive, location based
 Platforms
 Facebook: Building social connections. Emphasizes profiles & people
 Twitter: Information network. Emphasizes content
 Foursquare: Location based social networking
 LinkedIn, MySpace, NetFlix, Flickr, Delicious, Digg etc
 APIs
 Every social network has its own REST based API, (mostly) sticking to open standards.
 This session concentrates on: Facebook Graph API, Twitter API for ASP.NET sites.
virtual techdays
Overview of the social web
INDIA │ 22-24 November 2010 WE SOCIAL♄
 Websites can be made more social and interactive within minutes
 Facebook social plugins for websites
 Extensions of facebook, very simple code
 Login button – login to your site with FB auth
 Like Button – share pages from your site to FB
 Others include: Comments, Activity Feed, Like Box, Face Pile, Live Stream
 Open Graph <meta> tags make your page equivalent to FB page
 Twitter Everywhere/widgets
 Twitter updates on your website
 Search Widget – display real time tweets for live events
 Facebook-Twitter Integration app
 For more control & customization, we need to play with core APIs.
virtual techdays
Enhancing websites with social experiences
INDIA │ 22-24 November 2010 WE SOCIAL♄
 Rest based API, unique ID per object, JSON response. Public data queries:
 Object for VTD FB page: http://graph.facebook.com/49570201848
 Object for Microsoft PDC FB page: http://graph.facebook.com/MicrosoftPDC
 Meta data: http://graph.facebook.com/MicrosoftPDC?metadata=1
 For querying private data, access token is required via FB authorization
 PDC Statuses: http://graph.facebook.com/microsoftpdc/statuses?accesstoken=‘token’
 To use graph API with JavaScript SDK:
 you need to register an FB app and get application ID (app Id)
 Use the App Id in FB JavaScript API. jQuery suits perfect for AJAX & other cool stuff.
virtual techdays
Fun with Facebook’s Open Graph API
INDIA │ 22-24 November 2010 WE SOCIAL♄
virtual techdays
DEMO: Facebook social plugins, Twitter widget
INDIA │ 22-24 November 2010 WE SOCIAL♄
 Most social n/w use oAuth protocol for authorization. [oAuth=‘no passwords please’]
 FB JavaScript SDK simplifies login/signup without worrying about oAuth protocol.
 To get FB “access token” programmatically, oAuth flow should be understood. Here are the
steps of oAuth flow:
1. Redirect to
https://graph.facebook.com/oauth/authorize? client_id=...&
redirect_uri=http://www.example.com/oauth_redirect
2. User authorizes-> FB redirects to “redirect_uri” with the parameter “code”
3. Extract the “code” & redirect to:
https://graph.facebook.com/oauth/access_token? client_id=...&
redirect_uri=http://www.example.com/oauth_redirect& client_secret=...& code=...
4. From the above request, Facebook returns “access_token”. Use this to make authorized requests like :
https://graph.facebook.com/me?access_token=...
virtual techdays Querying private data

INDIA │ 22-24 November 2010 WE SOCIAL♄
virtual techdays oAuth handshake Flow Diagram
[Note: This is a generic oAuth flow diagram applicable to all social network APIs.]
INDIA │ 22-24 November 2010 WE SOCIAL♄
virtual techdays
DEMO: Fetching Facebook friends list using C#
INDIA │ 22-24 November 2010 WE SOCIAL♄
virtual techdays
RESOURCES
 Facebook social plugins
 http://developers.facebook.com/plugins
 Twitter widgets
 http://twitter.com/about/resources/widgets
 Facebook SDKs used in demos
 C# SDK: http://github.com/facebook/csharp-sdk
 JavaScript SDK: http://developers.facebook.com/docs/reference/javascript/
INDIA │ 22-24 November 2010 WE SOCIAL♄
virtual techdays
Twitter: @novogeek │ Blog: www.novogeek.com
INDIA │ 22-24 November 2010 WE SOCIAL♄

Weitere Àhnliche Inhalte

Was ist angesagt?

Interactive with-facebook
Interactive with-facebookInteractive with-facebook
Interactive with-facebookTien Nguyen
 
What's New on the Facebook Platform, August 2010
What's New on the Facebook Platform, August 2010What's New on the Facebook Platform, August 2010
What's New on the Facebook Platform, August 2010Nudge Social Media
 
The ultimate deal on open id uses
The ultimate deal on open id usesThe ultimate deal on open id uses
The ultimate deal on open id usesPing Identity
 
Social mediadashboardsppt
Social mediadashboardspptSocial mediadashboardsppt
Social mediadashboardspptGianni Zeppieri
 
OAuth2 and LinkedIn
OAuth2 and LinkedInOAuth2 and LinkedIn
OAuth2 and LinkedInKamyar Mohager
 
Linkedin & OAuth
Linkedin & OAuthLinkedin & OAuth
Linkedin & OAuthUmang Goyal
 
Leveraging Rails to Build Facebook Apps
Leveraging Rails to Build Facebook AppsLeveraging Rails to Build Facebook Apps
Leveraging Rails to Build Facebook AppsDavid Keener
 
Remote Exploitation of the Dropbox SDK for Android
Remote Exploitation of the Dropbox SDK for AndroidRemote Exploitation of the Dropbox SDK for Android
Remote Exploitation of the Dropbox SDK for AndroidIBM Security
 
SpoofedMe - Intruding Accounts using Social Login Providers
SpoofedMe - Intruding Accounts using Social Login Providers SpoofedMe - Intruding Accounts using Social Login Providers
SpoofedMe - Intruding Accounts using Social Login Providers IBM Security
 
OAuth Introduction
OAuth IntroductionOAuth Introduction
OAuth Introductionh_marvin
 
Facebook and its development
Facebook and its developmentFacebook and its development
Facebook and its developmentTao Wang
 
OpenID vs Facebook Connect vs FriendConnect
OpenID vs Facebook Connect vs FriendConnectOpenID vs Facebook Connect vs FriendConnect
OpenID vs Facebook Connect vs FriendConnectDerek Gallo
 
A simple PHP LinkedIn OAuth 2.0 example
A simple PHP LinkedIn OAuth 2.0 exampleA simple PHP LinkedIn OAuth 2.0 example
A simple PHP LinkedIn OAuth 2.0 exampleMattia Reggiani
 
Cvnl Webmarketing
Cvnl WebmarketingCvnl Webmarketing
Cvnl WebmarketingAbigail Fisher
 
android deep linking
android deep linkingandroid deep linking
android deep linkingThao Huynh Quang
 
Mobile Deep linking
Mobile Deep linkingMobile Deep linking
Mobile Deep linkingHsiang-Min Yu
 
Best Practices for Application Development with Box
Best Practices for Application Development with BoxBest Practices for Application Development with Box
Best Practices for Application Development with BoxJonathan LeBlanc
 

Was ist angesagt? (19)

Interactive with-facebook
Interactive with-facebookInteractive with-facebook
Interactive with-facebook
 
What's New on the Facebook Platform, August 2010
What's New on the Facebook Platform, August 2010What's New on the Facebook Platform, August 2010
What's New on the Facebook Platform, August 2010
 
The ultimate deal on open id uses
The ultimate deal on open id usesThe ultimate deal on open id uses
The ultimate deal on open id uses
 
Social mediadashboardsppt
Social mediadashboardspptSocial mediadashboardsppt
Social mediadashboardsppt
 
OAuth2 and LinkedIn
OAuth2 and LinkedInOAuth2 and LinkedIn
OAuth2 and LinkedIn
 
Linkedin & OAuth
Linkedin & OAuthLinkedin & OAuth
Linkedin & OAuth
 
Leveraging Rails to Build Facebook Apps
Leveraging Rails to Build Facebook AppsLeveraging Rails to Build Facebook Apps
Leveraging Rails to Build Facebook Apps
 
Oauth 2.0
Oauth 2.0Oauth 2.0
Oauth 2.0
 
Remote Exploitation of the Dropbox SDK for Android
Remote Exploitation of the Dropbox SDK for AndroidRemote Exploitation of the Dropbox SDK for Android
Remote Exploitation of the Dropbox SDK for Android
 
SpoofedMe - Intruding Accounts using Social Login Providers
SpoofedMe - Intruding Accounts using Social Login Providers SpoofedMe - Intruding Accounts using Social Login Providers
SpoofedMe - Intruding Accounts using Social Login Providers
 
OAuth Introduction
OAuth IntroductionOAuth Introduction
OAuth Introduction
 
Facebook and its development
Facebook and its developmentFacebook and its development
Facebook and its development
 
OpenID vs Facebook Connect vs FriendConnect
OpenID vs Facebook Connect vs FriendConnectOpenID vs Facebook Connect vs FriendConnect
OpenID vs Facebook Connect vs FriendConnect
 
A simple PHP LinkedIn OAuth 2.0 example
A simple PHP LinkedIn OAuth 2.0 exampleA simple PHP LinkedIn OAuth 2.0 example
A simple PHP LinkedIn OAuth 2.0 example
 
Cvnl Webmarketing
Cvnl WebmarketingCvnl Webmarketing
Cvnl Webmarketing
 
android deep linking
android deep linkingandroid deep linking
android deep linking
 
Mobile Deep linking
Mobile Deep linkingMobile Deep linking
Mobile Deep linking
 
Best Practices for Application Development with Box
Best Practices for Application Development with BoxBest Practices for Application Development with Box
Best Practices for Application Development with Box
 
Paypal
PaypalPaypal
Paypal
 

Andere mochten auch

JSFoo Chennai 2012
JSFoo Chennai 2012JSFoo Chennai 2012
JSFoo Chennai 2012Krishna T
 
Virtual TechDays 2011 - Hack your way with IE9 F12 Developer tools
Virtual TechDays 2011 - Hack your way with IE9 F12 Developer toolsVirtual TechDays 2011 - Hack your way with IE9 F12 Developer tools
Virtual TechDays 2011 - Hack your way with IE9 F12 Developer toolsKrishna T
 
DevCon 2010 - Facebook Apps development for ASP.NET devs
DevCon 2010 - Facebook Apps development  for ASP.NET devsDevCon 2010 - Facebook Apps development  for ASP.NET devs
DevCon 2010 - Facebook Apps development for ASP.NET devsKrishna T
 
Secure web messaging in HTML5
Secure web messaging in HTML5Secure web messaging in HTML5
Secure web messaging in HTML5Krishna T
 
Html5 security
Html5 securityHtml5 security
Html5 securityKrishna T
 
Browser Internals-Same Origin Policy
Browser Internals-Same Origin PolicyBrowser Internals-Same Origin Policy
Browser Internals-Same Origin PolicyKrishna T
 
Clickjacking DevCon2011
Clickjacking DevCon2011Clickjacking DevCon2011
Clickjacking DevCon2011Krishna T
 
Html5 Application Security
Html5 Application SecurityHtml5 Application Security
Html5 Application Securitychuckbt
 
Privacy &amp; Social Media
Privacy &amp; Social MediaPrivacy &amp; Social Media
Privacy &amp; Social Mediachuckbt
 
cross document messaging, html 5
cross document messaging, html 5cross document messaging, html 5
cross document messaging, html 5Kristoffer Snabb
 
Authentication vs authorization
Authentication vs authorizationAuthentication vs authorization
Authentication vs authorizationFrank Victory
 
Authentication and Authorization in Asp.Net
Authentication and Authorization in Asp.NetAuthentication and Authorization in Asp.Net
Authentication and Authorization in Asp.NetShivanand Arur
 
Html 5 in a big nutshell
Html 5 in a big nutshellHtml 5 in a big nutshell
Html 5 in a big nutshellLennart Schoors
 
Introduction to Html5
Introduction to Html5Introduction to Html5
Introduction to Html5www.netgains.org
 

Andere mochten auch (15)

JSFoo Chennai 2012
JSFoo Chennai 2012JSFoo Chennai 2012
JSFoo Chennai 2012
 
Virtual TechDays 2011 - Hack your way with IE9 F12 Developer tools
Virtual TechDays 2011 - Hack your way with IE9 F12 Developer toolsVirtual TechDays 2011 - Hack your way with IE9 F12 Developer tools
Virtual TechDays 2011 - Hack your way with IE9 F12 Developer tools
 
DevCon 2010 - Facebook Apps development for ASP.NET devs
DevCon 2010 - Facebook Apps development  for ASP.NET devsDevCon 2010 - Facebook Apps development  for ASP.NET devs
DevCon 2010 - Facebook Apps development for ASP.NET devs
 
Secure web messaging in HTML5
Secure web messaging in HTML5Secure web messaging in HTML5
Secure web messaging in HTML5
 
Html5 security
Html5 securityHtml5 security
Html5 security
 
Browser Internals-Same Origin Policy
Browser Internals-Same Origin PolicyBrowser Internals-Same Origin Policy
Browser Internals-Same Origin Policy
 
Clickjacking DevCon2011
Clickjacking DevCon2011Clickjacking DevCon2011
Clickjacking DevCon2011
 
Html5 Application Security
Html5 Application SecurityHtml5 Application Security
Html5 Application Security
 
Privacy &amp; Social Media
Privacy &amp; Social MediaPrivacy &amp; Social Media
Privacy &amp; Social Media
 
cross document messaging, html 5
cross document messaging, html 5cross document messaging, html 5
cross document messaging, html 5
 
Authentication vs authorization
Authentication vs authorizationAuthentication vs authorization
Authentication vs authorization
 
Authentication and Authorization in Asp.Net
Authentication and Authorization in Asp.NetAuthentication and Authorization in Asp.Net
Authentication and Authorization in Asp.Net
 
Html 5 in a big nutshell
Html 5 in a big nutshellHtml 5 in a big nutshell
Html 5 in a big nutshell
 
Introduction to Html5
Introduction to Html5Introduction to Html5
Introduction to Html5
 
html5.ppt
html5.ppthtml5.ppt
html5.ppt
 

Ähnlich wie Virtual Tech Days 2010 - Integrating Social Networks with ASP.NET

Facebook API
Facebook APIFacebook API
Facebook APIsnipermkd
 
What's New on the Facebook Platform, July 2011
What's New on the Facebook Platform, July 2011What's New on the Facebook Platform, July 2011
What's New on the Facebook Platform, July 2011Iskandar Najmuddin
 
Social mediaprogramming part2-java-jax-london
Social mediaprogramming part2-java-jax-londonSocial mediaprogramming part2-java-jax-london
Social mediaprogramming part2-java-jax-londonKhanderao Kand
 
Intro to Bot Framework v3
Intro to Bot Framework v3Intro to Bot Framework v3
Intro to Bot Framework v3Shahed Chowdhuri
 
SharePoint Saturday Orlando 2012 Creating Business Intelligence with SharePoi...
SharePoint Saturday Orlando 2012 Creating Business Intelligence with SharePoi...SharePoint Saturday Orlando 2012 Creating Business Intelligence with SharePoi...
SharePoint Saturday Orlando 2012 Creating Business Intelligence with SharePoi...Ivan Sanders
 
Iskandar Najmuddin
Iskandar NajmuddinIskandar Najmuddin
Iskandar NajmuddiniPlatform
 
Creating Business Intelligence with SharePoint 2010
Creating Business Intelligence  with SharePoint 2010Creating Business Intelligence  with SharePoint 2010
Creating Business Intelligence with SharePoint 2010Ivan Sanders
 
Build social apps for Facebook
Build social apps for FacebookBuild social apps for Facebook
Build social apps for FacebookMohammad Emran Hasan
 
Facebook Connect
Facebook ConnectFacebook Connect
Facebook ConnectPitra Satvika
 
SharePoint Saturday Houston 2012
SharePoint Saturday Houston 2012SharePoint Saturday Houston 2012
SharePoint Saturday Houston 2012Ivan Sanders
 
Introduction to Facebook JavaScript & Python SDK
Introduction to Facebook JavaScript & Python SDKIntroduction to Facebook JavaScript & Python SDK
Introduction to Facebook JavaScript & Python SDKColin Su
 
Intro to Bot Framework v3 with DB
Intro to Bot Framework v3 with DBIntro to Bot Framework v3 with DB
Intro to Bot Framework v3 with DBShahed Chowdhuri
 
Introduction to facebook java script sdk
Introduction to facebook java script sdk Introduction to facebook java script sdk
Introduction to facebook java script sdk Yi-Fan Chu
 
Creating Business Intelligence With Share Point 2010
Creating Business Intelligence With Share Point 2010Creating Business Intelligence With Share Point 2010
Creating Business Intelligence With Share Point 2010Ivan Sanders
 
Facebook api for iOS
Facebook api for iOSFacebook api for iOS
Facebook api for iOSHidetoshi Mori
 
Facebook Open Graph Protocol and Graph API (NoVA Code Camp 2010.1)
Facebook Open Graph Protocol and Graph API (NoVA Code Camp 2010.1)Facebook Open Graph Protocol and Graph API (NoVA Code Camp 2010.1)
Facebook Open Graph Protocol and Graph API (NoVA Code Camp 2010.1)Chris Busse
 
Easy Way To Make Facebook Account Backdoor Without Scripting
Easy Way To Make Facebook Account Backdoor Without ScriptingEasy Way To Make Facebook Account Backdoor Without Scripting
Easy Way To Make Facebook Account Backdoor Without ScriptingBudi Khoirudin
 
Introduction to facebook javascript sdk
Introduction to facebook javascript sdk Introduction to facebook javascript sdk
Introduction to facebook javascript sdk Yi-Fan Chu
 
Combining the Power of Bots and Microsoft Azure to Build the Apps of the Future
Combining the Power of Bots and Microsoft Azure to Build the Apps of the FutureCombining the Power of Bots and Microsoft Azure to Build the Apps of the Future
Combining the Power of Bots and Microsoft Azure to Build the Apps of the FutureRabeb Othmani
 

Ähnlich wie Virtual Tech Days 2010 - Integrating Social Networks with ASP.NET (20)

Facebook API
Facebook APIFacebook API
Facebook API
 
What's New on the Facebook Platform, July 2011
What's New on the Facebook Platform, July 2011What's New on the Facebook Platform, July 2011
What's New on the Facebook Platform, July 2011
 
Social mediaprogramming part2-java-jax-london
Social mediaprogramming part2-java-jax-londonSocial mediaprogramming part2-java-jax-london
Social mediaprogramming part2-java-jax-london
 
Intro to Bot Framework v3
Intro to Bot Framework v3Intro to Bot Framework v3
Intro to Bot Framework v3
 
SharePoint Saturday Orlando 2012 Creating Business Intelligence with SharePoi...
SharePoint Saturday Orlando 2012 Creating Business Intelligence with SharePoi...SharePoint Saturday Orlando 2012 Creating Business Intelligence with SharePoi...
SharePoint Saturday Orlando 2012 Creating Business Intelligence with SharePoi...
 
Iskandar Najmuddin
Iskandar NajmuddinIskandar Najmuddin
Iskandar Najmuddin
 
Creating Business Intelligence with SharePoint 2010
Creating Business Intelligence  with SharePoint 2010Creating Business Intelligence  with SharePoint 2010
Creating Business Intelligence with SharePoint 2010
 
Build social apps for Facebook
Build social apps for FacebookBuild social apps for Facebook
Build social apps for Facebook
 
Facebook dev con f8 2015
Facebook dev con f8 2015Facebook dev con f8 2015
Facebook dev con f8 2015
 
Facebook Connect
Facebook ConnectFacebook Connect
Facebook Connect
 
SharePoint Saturday Houston 2012
SharePoint Saturday Houston 2012SharePoint Saturday Houston 2012
SharePoint Saturday Houston 2012
 
Introduction to Facebook JavaScript & Python SDK
Introduction to Facebook JavaScript & Python SDKIntroduction to Facebook JavaScript & Python SDK
Introduction to Facebook JavaScript & Python SDK
 
Intro to Bot Framework v3 with DB
Intro to Bot Framework v3 with DBIntro to Bot Framework v3 with DB
Intro to Bot Framework v3 with DB
 
Introduction to facebook java script sdk
Introduction to facebook java script sdk Introduction to facebook java script sdk
Introduction to facebook java script sdk
 
Creating Business Intelligence With Share Point 2010
Creating Business Intelligence With Share Point 2010Creating Business Intelligence With Share Point 2010
Creating Business Intelligence With Share Point 2010
 
Facebook api for iOS
Facebook api for iOSFacebook api for iOS
Facebook api for iOS
 
Facebook Open Graph Protocol and Graph API (NoVA Code Camp 2010.1)
Facebook Open Graph Protocol and Graph API (NoVA Code Camp 2010.1)Facebook Open Graph Protocol and Graph API (NoVA Code Camp 2010.1)
Facebook Open Graph Protocol and Graph API (NoVA Code Camp 2010.1)
 
Easy Way To Make Facebook Account Backdoor Without Scripting
Easy Way To Make Facebook Account Backdoor Without ScriptingEasy Way To Make Facebook Account Backdoor Without Scripting
Easy Way To Make Facebook Account Backdoor Without Scripting
 
Introduction to facebook javascript sdk
Introduction to facebook javascript sdk Introduction to facebook javascript sdk
Introduction to facebook javascript sdk
 
Combining the Power of Bots and Microsoft Azure to Build the Apps of the Future
Combining the Power of Bots and Microsoft Azure to Build the Apps of the FutureCombining the Power of Bots and Microsoft Azure to Build the Apps of the Future
Combining the Power of Bots and Microsoft Azure to Build the Apps of the Future
 

KĂŒrzlich hochgeladen

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...gurkirankumar98700
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

KĂŒrzlich hochgeladen (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍾 8923113531 🎰 Avail...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

Virtual Tech Days 2010 - Integrating Social Networks with ASP.NET

  • 1. virtual techdays INDIA │ 22-24 November 2010 Integrating Social Networks with ASP.NET Krishna Chaitanya T │ Future Web Research Lab, SETLabs, Infosys WE SOCIAL♄
  • 2.  Overview of the social web  Trends, Platforms and APIs  Enhancing websites with social experiences  Facebook for websites  Twitter widgets  Fun with Facebook’s Open Graph API  App setup in FB platform  jQuery + JavaScript SDK  The oAuth handshake flow  Implementing FB oAuth using C# virtual techdays S E S S I O N A G E N D A INDIA │ 22-24 November 2010 WE SOCIAL♄
  • 3.  Trends  Web 1.0: Static, centralized, users read content, publishing rather than participation.  Web 2.0: Dynamic, decentralized, AJAX, widgets, sharing, mashups, mobile, real time, collective minds, interactive, location based  Platforms  Facebook: Building social connections. Emphasizes profiles & people  Twitter: Information network. Emphasizes content  Foursquare: Location based social networking  LinkedIn, MySpace, NetFlix, Flickr, Delicious, Digg etc  APIs  Every social network has its own REST based API, (mostly) sticking to open standards.  This session concentrates on: Facebook Graph API, Twitter API for ASP.NET sites. virtual techdays Overview of the social web INDIA │ 22-24 November 2010 WE SOCIAL♄
  • 4.  Websites can be made more social and interactive within minutes  Facebook social plugins for websites  Extensions of facebook, very simple code  Login button – login to your site with FB auth  Like Button – share pages from your site to FB  Others include: Comments, Activity Feed, Like Box, Face Pile, Live Stream  Open Graph <meta> tags make your page equivalent to FB page  Twitter Everywhere/widgets  Twitter updates on your website  Search Widget – display real time tweets for live events  Facebook-Twitter Integration app  For more control & customization, we need to play with core APIs. virtual techdays Enhancing websites with social experiences INDIA │ 22-24 November 2010 WE SOCIAL♄
  • 5.  Rest based API, unique ID per object, JSON response. Public data queries:  Object for VTD FB page: http://graph.facebook.com/49570201848  Object for Microsoft PDC FB page: http://graph.facebook.com/MicrosoftPDC  Meta data: http://graph.facebook.com/MicrosoftPDC?metadata=1  For querying private data, access token is required via FB authorization  PDC Statuses: http://graph.facebook.com/microsoftpdc/statuses?accesstoken=‘token’  To use graph API with JavaScript SDK:  you need to register an FB app and get application ID (app Id)  Use the App Id in FB JavaScript API. jQuery suits perfect for AJAX & other cool stuff. virtual techdays Fun with Facebook’s Open Graph API INDIA │ 22-24 November 2010 WE SOCIAL♄
  • 6. virtual techdays DEMO: Facebook social plugins, Twitter widget INDIA │ 22-24 November 2010 WE SOCIAL♄
  • 7.  Most social n/w use oAuth protocol for authorization. [oAuth=‘no passwords please’]  FB JavaScript SDK simplifies login/signup without worrying about oAuth protocol.  To get FB “access token” programmatically, oAuth flow should be understood. Here are the steps of oAuth flow: 1. Redirect to https://graph.facebook.com/oauth/authorize? client_id=...& redirect_uri=http://www.example.com/oauth_redirect 2. User authorizes-> FB redirects to “redirect_uri” with the parameter “code” 3. Extract the “code” & redirect to: https://graph.facebook.com/oauth/access_token? client_id=...& redirect_uri=http://www.example.com/oauth_redirect& client_secret=...& code=... 4. From the above request, Facebook returns “access_token”. Use this to make authorized requests like : https://graph.facebook.com/me?access_token=... virtual techdays Querying private data
 INDIA │ 22-24 November 2010 WE SOCIAL♄
  • 8. virtual techdays oAuth handshake Flow Diagram [Note: This is a generic oAuth flow diagram applicable to all social network APIs.] INDIA │ 22-24 November 2010 WE SOCIAL♄
  • 9. virtual techdays DEMO: Fetching Facebook friends list using C# INDIA │ 22-24 November 2010 WE SOCIAL♄
  • 10. virtual techdays RESOURCES  Facebook social plugins  http://developers.facebook.com/plugins  Twitter widgets  http://twitter.com/about/resources/widgets  Facebook SDKs used in demos  C# SDK: http://github.com/facebook/csharp-sdk  JavaScript SDK: http://developers.facebook.com/docs/reference/javascript/ INDIA │ 22-24 November 2010 WE SOCIAL♄
  • 11. virtual techdays Twitter: @novogeek │ Blog: www.novogeek.com INDIA │ 22-24 November 2010 WE SOCIAL♄