SlideShare une entreprise Scribd logo
1  sur  17
Building Apps With MySpace SDKs
          Chak Nanga (Architect)
     KiamChoo (Sr. Technical Evangelist)
Introduction


• SDKs support quot;on-sitequot; and quot;off-sitequot; app development

• quot;On-Sitequot;/OpenSocial Applications (Canvas View)
   – OpenSocial app’s canvas view hosted on your server
   – Written using a language/framework of your choice
   – App logic hosted on your servers and displayed on MySpace in an IFrame


• quot;Off-Site”/MySpaceID Applications
   – Apps/Services that leverage MySpace social data outside MySpace
   – Written in a language/framework of your choice
   – Apps hosted on your servers
MySpace SDKs Overview


• MySpace REST APIs are at the core of the SDKs
• SDKs provide a high level interface to the REST APIs
   – High level APIs to get social data from MySpace (friends, profile etc.)

   – Abstracts away the protocol details (OAuth signing)

• Available in multiple languages
   – C#, Java, PHP, Python, Ruby

• Consistent interface across all the languages
• Open-sourced and hosted on google code
• Contributors are welcome!
SDK Contents


• Core API library and dependent libraries (Oauth, OpenID
  etc)
• Samples for supported usage scenarios
   – OAuth Delegated Access (“3-Legged” Oauth)

   – OpenID + OAuth Hybrid

• Documentation
Building an “on-site” application


• Choose the quot;External IFramequot; radio button in the Canvas
  Surface tab
• Enter the IFrame URL in the text box
Building an “on-site” application


• Canvas view rendered in an IFrame
• Iframe “src” set to IFrame URL (signed request from
  MySpace)
• Verify signatures when request hits your servers
• Extract user id from the request
• Utilize the user id in the SDK calls
On-Site App Demo / Code
Building a MySpaceID application
OAuth Delegated Access Demo


• Application steps
   – Get request token

   – Redirect to authorization page (on MySpace)

   – User approves application request

   – MySpace redirects to the supplied callback URL

   – Get access token

   – Access social data using the SDK
OAuth Delegated Access Code


• Get Request Token + Redirect to Service Provider
OAuth Delegated Access Code


• Get Access Token (in the Service Provider callback)
OAuth Delegated Access Code


• Access protected resources
OpenID + OAuth “hybrid” Demo


• MySpace is a “Combined Provider” (OpenID Provider +
  OAuth Service Provider)
• OpenIDOAuth extension (“hybrid”)
   – Combines authentication and authorization screen for two protocols
   – Better user experience
• Application steps
   –   Use OpenID library to initiate authentication
   –   Embed OAuth approval request into OpenID authentication request
   –   Combined Provider returns approved request token
   –   Combined Cosumer exchanges the request token for access token
   –   Access social data using the SDK
OpenID + OAuth “hybrid” Code


• Embed OAuth approval request
OpenID + OAuth “hybrid” Code


• Exchange approved request token for access token
• Access user data
Thank You!


• Additional Information
   – http://developer.myspace.com/myspaceid/

Contenu connexe

Tendances

Foreman Single Sign-On Made Easy with Keycloak
Foreman Single Sign-On Made Easy with KeycloakForeman Single Sign-On Made Easy with Keycloak
Foreman Single Sign-On Made Easy with KeycloakNikhil Kathole
 
Adding identity management and access control to your app
Adding identity management and access control to your appAdding identity management and access control to your app
Adding identity management and access control to your appÁlvaro Alonso González
 
REST API Security: OAuth 2.0, JWTs, and More!
REST API Security: OAuth 2.0, JWTs, and More!REST API Security: OAuth 2.0, JWTs, and More!
REST API Security: OAuth 2.0, JWTs, and More!Stormpath
 
JavaOne 2014 - Securing RESTful Resources with OAuth2
JavaOne 2014 - Securing RESTful Resources with OAuth2JavaOne 2014 - Securing RESTful Resources with OAuth2
JavaOne 2014 - Securing RESTful Resources with OAuth2Rodrigo Cândido da Silva
 
The Ultimate Guide to Mobile API Security
The Ultimate Guide to Mobile API SecurityThe Ultimate Guide to Mobile API Security
The Ultimate Guide to Mobile API SecurityStormpath
 
Clef security architecture
Clef security architectureClef security architecture
Clef security architecturejessepollak
 
Accessing APIs using OAuth on the federated (WordPress) web
Accessing APIs using OAuth on the federated (WordPress) webAccessing APIs using OAuth on the federated (WordPress) web
Accessing APIs using OAuth on the federated (WordPress) webFelix Arntz
 
Spring4 security oauth2
Spring4 security oauth2Spring4 security oauth2
Spring4 security oauth2axykim00
 
Hashitalks 2021 - How the Dynamic Duo of Vault and Puppet Tame SSL Certificates
Hashitalks 2021 - How the Dynamic Duo of Vault and Puppet Tame SSL CertificatesHashitalks 2021 - How the Dynamic Duo of Vault and Puppet Tame SSL Certificates
Hashitalks 2021 - How the Dynamic Duo of Vault and Puppet Tame SSL CertificatesNick Maludy
 
OAuth2 Protocol with Grails Spring Security
OAuth2 Protocol with Grails Spring SecurityOAuth2 Protocol with Grails Spring Security
OAuth2 Protocol with Grails Spring SecurityNexThoughts Technologies
 
Secure your app with keycloak
Secure your app with keycloakSecure your app with keycloak
Secure your app with keycloakGuy Marom
 
Guide on scaling web app
Guide on scaling web appGuide on scaling web app
Guide on scaling web appAshok Pundit
 
2019 - Tech Talk DC - Token-based security for web applications using OAuth2 ...
2019 - Tech Talk DC - Token-based security for web applications using OAuth2 ...2019 - Tech Talk DC - Token-based security for web applications using OAuth2 ...
2019 - Tech Talk DC - Token-based security for web applications using OAuth2 ...Vladimir Bychkov
 
An Authentication and Authorization Architecture for a Microservices World
An Authentication and Authorization Architecture for a Microservices WorldAn Authentication and Authorization Architecture for a Microservices World
An Authentication and Authorization Architecture for a Microservices WorldVMware Tanzu
 
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
 
Securing your APIs with OAuth, OpenID, and OpenID Connect
Securing your APIs with OAuth, OpenID, and OpenID ConnectSecuring your APIs with OAuth, OpenID, and OpenID Connect
Securing your APIs with OAuth, OpenID, and OpenID ConnectManish Pandit
 
OpenId Connect Protocol
OpenId Connect ProtocolOpenId Connect Protocol
OpenId Connect ProtocolMichael Furman
 

Tendances (20)

SFScon 2020 - Alex Lanz Martin Malfertheiner - OAuth2 OpenID
 SFScon 2020 - Alex Lanz Martin Malfertheiner - OAuth2 OpenID SFScon 2020 - Alex Lanz Martin Malfertheiner - OAuth2 OpenID
SFScon 2020 - Alex Lanz Martin Malfertheiner - OAuth2 OpenID
 
Foreman Single Sign-On Made Easy with Keycloak
Foreman Single Sign-On Made Easy with KeycloakForeman Single Sign-On Made Easy with Keycloak
Foreman Single Sign-On Made Easy with Keycloak
 
Adding identity management and access control to your app
Adding identity management and access control to your appAdding identity management and access control to your app
Adding identity management and access control to your app
 
REST API Security: OAuth 2.0, JWTs, and More!
REST API Security: OAuth 2.0, JWTs, and More!REST API Security: OAuth 2.0, JWTs, and More!
REST API Security: OAuth 2.0, JWTs, and More!
 
JavaOne 2014 - Securing RESTful Resources with OAuth2
JavaOne 2014 - Securing RESTful Resources with OAuth2JavaOne 2014 - Securing RESTful Resources with OAuth2
JavaOne 2014 - Securing RESTful Resources with OAuth2
 
The Ultimate Guide to Mobile API Security
The Ultimate Guide to Mobile API SecurityThe Ultimate Guide to Mobile API Security
The Ultimate Guide to Mobile API Security
 
Clef security architecture
Clef security architectureClef security architecture
Clef security architecture
 
Accessing APIs using OAuth on the federated (WordPress) web
Accessing APIs using OAuth on the federated (WordPress) webAccessing APIs using OAuth on the federated (WordPress) web
Accessing APIs using OAuth on the federated (WordPress) web
 
OAuth2 + API Security
OAuth2 + API SecurityOAuth2 + API Security
OAuth2 + API Security
 
Spring4 security oauth2
Spring4 security oauth2Spring4 security oauth2
Spring4 security oauth2
 
Hashitalks 2021 - How the Dynamic Duo of Vault and Puppet Tame SSL Certificates
Hashitalks 2021 - How the Dynamic Duo of Vault and Puppet Tame SSL CertificatesHashitalks 2021 - How the Dynamic Duo of Vault and Puppet Tame SSL Certificates
Hashitalks 2021 - How the Dynamic Duo of Vault and Puppet Tame SSL Certificates
 
OAuth2 Protocol with Grails Spring Security
OAuth2 Protocol with Grails Spring SecurityOAuth2 Protocol with Grails Spring Security
OAuth2 Protocol with Grails Spring Security
 
Secure your app with keycloak
Secure your app with keycloakSecure your app with keycloak
Secure your app with keycloak
 
Guide on scaling web app
Guide on scaling web appGuide on scaling web app
Guide on scaling web app
 
2019 - Tech Talk DC - Token-based security for web applications using OAuth2 ...
2019 - Tech Talk DC - Token-based security for web applications using OAuth2 ...2019 - Tech Talk DC - Token-based security for web applications using OAuth2 ...
2019 - Tech Talk DC - Token-based security for web applications using OAuth2 ...
 
An Authentication and Authorization Architecture for a Microservices World
An Authentication and Authorization Architecture for a Microservices WorldAn Authentication and Authorization Architecture for a Microservices World
An Authentication and Authorization Architecture for a Microservices World
 
OAuth2 and LinkedIn
OAuth2 and LinkedInOAuth2 and LinkedIn
OAuth2 and LinkedIn
 
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
 
Securing your APIs with OAuth, OpenID, and OpenID Connect
Securing your APIs with OAuth, OpenID, and OpenID ConnectSecuring your APIs with OAuth, OpenID, and OpenID Connect
Securing your APIs with OAuth, OpenID, and OpenID Connect
 
OpenId Connect Protocol
OpenId Connect ProtocolOpenId Connect Protocol
OpenId Connect Protocol
 

En vedette

DADS' POWER POINT PRESENTATION
DADS' POWER POINT PRESENTATIONDADS' POWER POINT PRESENTATION
DADS' POWER POINT PRESENTATIONGeorge Roberson
 
Curriculum+Vitae+Petra+Hasper+6-1
Curriculum+Vitae+Petra+Hasper+6-1Curriculum+Vitae+Petra+Hasper+6-1
Curriculum+Vitae+Petra+Hasper+6-1Petra Hasper
 
Janine hofmeyr cv_2016
Janine hofmeyr cv_2016Janine hofmeyr cv_2016
Janine hofmeyr cv_2016Janine Hofmeyr
 
小靈魂與太陽
小靈魂與太陽小靈魂與太陽
小靈魂與太陽佳佳 莊
 
Science 150221121154-conversion-gate01
Science 150221121154-conversion-gate01Science 150221121154-conversion-gate01
Science 150221121154-conversion-gate01jenmic
 
02 ARIAS JHONATAN POWER POINT
02 ARIAS JHONATAN POWER POINT02 ARIAS JHONATAN POWER POINT
02 ARIAS JHONATAN POWER POINTJHONATANARIASRIOS
 
Современные представления о медицинской реабилитации. Международная классифик...
Современные представления о медицинской реабилитации. Международная классифик...Современные представления о медицинской реабилитации. Международная классифик...
Современные представления о медицинской реабилитации. Международная классифик...allnurses
 
Upgrading JavaScript to ES6 and using TypeScript as a shortcut
Upgrading JavaScript to ES6 and using TypeScript as a shortcutUpgrading JavaScript to ES6 and using TypeScript as a shortcut
Upgrading JavaScript to ES6 and using TypeScript as a shortcutChristian Heilmann
 
Permohonan untuk diterima menjadi tenaga pengganti
Permohonan untuk diterima menjadi tenaga penggantiPermohonan untuk diterima menjadi tenaga pengganti
Permohonan untuk diterima menjadi tenaga penggantiOperator Warnet Vast Raha
 
Best marketing strategy- Inbound Marketing tips.
Best marketing strategy- Inbound Marketing tips.Best marketing strategy- Inbound Marketing tips.
Best marketing strategy- Inbound Marketing tips.Siddharth B.
 
Presentation
PresentationPresentation
PresentationuKit
 
Scugdale & Live moor ~ Medium Walk
Scugdale & Live moor ~ Medium WalkScugdale & Live moor ~ Medium Walk
Scugdale & Live moor ~ Medium WalkJohn C
 
Hawnby hill – easy walk
Hawnby hill – easy walkHawnby hill – easy walk
Hawnby hill – easy walkJohn C
 

En vedette (15)

DADS' POWER POINT PRESENTATION
DADS' POWER POINT PRESENTATIONDADS' POWER POINT PRESENTATION
DADS' POWER POINT PRESENTATION
 
Curriculum+Vitae+Petra+Hasper+6-1
Curriculum+Vitae+Petra+Hasper+6-1Curriculum+Vitae+Petra+Hasper+6-1
Curriculum+Vitae+Petra+Hasper+6-1
 
Commercial Edge - 2016
Commercial Edge - 2016Commercial Edge - 2016
Commercial Edge - 2016
 
Janine hofmeyr cv_2016
Janine hofmeyr cv_2016Janine hofmeyr cv_2016
Janine hofmeyr cv_2016
 
小靈魂與太陽
小靈魂與太陽小靈魂與太陽
小靈魂與太陽
 
Science 150221121154-conversion-gate01
Science 150221121154-conversion-gate01Science 150221121154-conversion-gate01
Science 150221121154-conversion-gate01
 
IJETAE_0113_25
IJETAE_0113_25IJETAE_0113_25
IJETAE_0113_25
 
02 ARIAS JHONATAN POWER POINT
02 ARIAS JHONATAN POWER POINT02 ARIAS JHONATAN POWER POINT
02 ARIAS JHONATAN POWER POINT
 
Современные представления о медицинской реабилитации. Международная классифик...
Современные представления о медицинской реабилитации. Международная классифик...Современные представления о медицинской реабилитации. Международная классифик...
Современные представления о медицинской реабилитации. Международная классифик...
 
Upgrading JavaScript to ES6 and using TypeScript as a shortcut
Upgrading JavaScript to ES6 and using TypeScript as a shortcutUpgrading JavaScript to ES6 and using TypeScript as a shortcut
Upgrading JavaScript to ES6 and using TypeScript as a shortcut
 
Permohonan untuk diterima menjadi tenaga pengganti
Permohonan untuk diterima menjadi tenaga penggantiPermohonan untuk diterima menjadi tenaga pengganti
Permohonan untuk diterima menjadi tenaga pengganti
 
Best marketing strategy- Inbound Marketing tips.
Best marketing strategy- Inbound Marketing tips.Best marketing strategy- Inbound Marketing tips.
Best marketing strategy- Inbound Marketing tips.
 
Presentation
PresentationPresentation
Presentation
 
Scugdale & Live moor ~ Medium Walk
Scugdale & Live moor ~ Medium WalkScugdale & Live moor ~ Medium Walk
Scugdale & Live moor ~ Medium Walk
 
Hawnby hill – easy walk
Hawnby hill – easy walkHawnby hill – easy walk
Hawnby hill – easy walk
 

Similaire à Building Apps with MySpace SDKs

MongoDB.local Berlin: App development in a Serverless World
MongoDB.local Berlin: App development in a Serverless WorldMongoDB.local Berlin: App development in a Serverless World
MongoDB.local Berlin: App development in a Serverless WorldMongoDB
 
How to use Microsoft Graph in your applications
How to use Microsoft Graph in your applicationsHow to use Microsoft Graph in your applications
How to use Microsoft Graph in your applicationsMohamed Ashiq Faleel
 
Open Social Summit Korea Overview
Open Social Summit Korea OverviewOpen Social Summit Korea Overview
Open Social Summit Korea OverviewChris Schalk
 
Introduction to the Globus Platform for Developers
Introduction to the Globus Platform for DevelopersIntroduction to the Globus Platform for Developers
Introduction to the Globus Platform for DevelopersGlobus
 
SharePoint and Office Development Workshop
SharePoint and Office Development WorkshopSharePoint and Office Development Workshop
SharePoint and Office Development WorkshopEric Shupps
 
Developer’s Independence Day: Introducing the SharePoint App Model
Developer’s Independence Day:Introducing the SharePoint App ModelDeveloper’s Independence Day:Introducing the SharePoint App Model
Developer’s Independence Day: Introducing the SharePoint App Modelbgerman
 
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted AppsSharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted AppsSanjay Patel
 
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted AppsSharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted AppsSanjay Patel
 
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity API
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity APIBuilding SharePoint 2013 Apps - Architecture, Authentication & Connectivity API
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity APISharePointRadi
 
"Secure Mobile Apps with the Microsoft Identity Platform", Christos Matskas, ...
"Secure Mobile Apps with the Microsoft Identity Platform", Christos Matskas, ..."Secure Mobile Apps with the Microsoft Identity Platform", Christos Matskas, ...
"Secure Mobile Apps with the Microsoft Identity Platform", Christos Matskas, ...Fwdays
 
Application Security in ASP.NET Core
Application Security in ASP.NET CoreApplication Security in ASP.NET Core
Application Security in ASP.NET CoreNETUserGroupBern
 
Xamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikXamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikMukteswar Patnaik
 
Coding 102 REST API Basics Using Spark
Coding 102 REST API Basics Using SparkCoding 102 REST API Basics Using Spark
Coding 102 REST API Basics Using SparkCisco DevNet
 
AppsNgen Widget-based Software Development for Financial Markets
AppsNgen Widget-based Software Development for Financial MarketsAppsNgen Widget-based Software Development for Financial Markets
AppsNgen Widget-based Software Development for Financial MarketsIsaak Karaev
 
#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...
#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...
#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...Vincent Biret
 
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech TalksDeep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech TalksAmazon Web Services
 
The Who, What, Why and How of Active Directory Federation Services (AD FS)
The Who, What, Why and How of Active Directory Federation Services (AD FS)The Who, What, Why and How of Active Directory Federation Services (AD FS)
The Who, What, Why and How of Active Directory Federation Services (AD FS)Jay Simcox
 
Web 2.0 Tech Talk
Web 2.0 Tech TalkWeb 2.0 Tech Talk
Web 2.0 Tech Talkpooyad
 
Visual Studio 2015: novità per gli sviluppatori iOS, Android e Cross-Platform
Visual Studio 2015: novità per gli sviluppatori iOS, Android e Cross-PlatformVisual Studio 2015: novità per gli sviluppatori iOS, Android e Cross-Platform
Visual Studio 2015: novità per gli sviluppatori iOS, Android e Cross-PlatformStefano Ottaviani
 

Similaire à Building Apps with MySpace SDKs (20)

MongoDB.local Berlin: App development in a Serverless World
MongoDB.local Berlin: App development in a Serverless WorldMongoDB.local Berlin: App development in a Serverless World
MongoDB.local Berlin: App development in a Serverless World
 
How to use Microsoft Graph in your applications
How to use Microsoft Graph in your applicationsHow to use Microsoft Graph in your applications
How to use Microsoft Graph in your applications
 
Open Social Summit Korea Overview
Open Social Summit Korea OverviewOpen Social Summit Korea Overview
Open Social Summit Korea Overview
 
Introduction to the Globus Platform for Developers
Introduction to the Globus Platform for DevelopersIntroduction to the Globus Platform for Developers
Introduction to the Globus Platform for Developers
 
SharePoint and Office Development Workshop
SharePoint and Office Development WorkshopSharePoint and Office Development Workshop
SharePoint and Office Development Workshop
 
Developer’s Independence Day: Introducing the SharePoint App Model
Developer’s Independence Day:Introducing the SharePoint App ModelDeveloper’s Independence Day:Introducing the SharePoint App Model
Developer’s Independence Day: Introducing the SharePoint App Model
 
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted AppsSharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
 
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted AppsSharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
SharePoint 2013 “App Model” Developing and Deploying Provider Hosted Apps
 
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity API
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity APIBuilding SharePoint 2013 Apps - Architecture, Authentication & Connectivity API
Building SharePoint 2013 Apps - Architecture, Authentication & Connectivity API
 
AppsNgen
AppsNgenAppsNgen
AppsNgen
 
"Secure Mobile Apps with the Microsoft Identity Platform", Christos Matskas, ...
"Secure Mobile Apps with the Microsoft Identity Platform", Christos Matskas, ..."Secure Mobile Apps with the Microsoft Identity Platform", Christos Matskas, ...
"Secure Mobile Apps with the Microsoft Identity Platform", Christos Matskas, ...
 
Application Security in ASP.NET Core
Application Security in ASP.NET CoreApplication Security in ASP.NET Core
Application Security in ASP.NET Core
 
Xamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikXamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar Patnaik
 
Coding 102 REST API Basics Using Spark
Coding 102 REST API Basics Using SparkCoding 102 REST API Basics Using Spark
Coding 102 REST API Basics Using Spark
 
AppsNgen Widget-based Software Development for Financial Markets
AppsNgen Widget-based Software Development for Financial MarketsAppsNgen Widget-based Software Development for Financial Markets
AppsNgen Widget-based Software Development for Financial Markets
 
#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...
#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...
#SPFestSea azr302 The SharePoint Framework and the #MicrosoftGraph under ster...
 
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech TalksDeep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
Deep Dive on Lambda@Edge - August 2017 AWS Online Tech Talks
 
The Who, What, Why and How of Active Directory Federation Services (AD FS)
The Who, What, Why and How of Active Directory Federation Services (AD FS)The Who, What, Why and How of Active Directory Federation Services (AD FS)
The Who, What, Why and How of Active Directory Federation Services (AD FS)
 
Web 2.0 Tech Talk
Web 2.0 Tech TalkWeb 2.0 Tech Talk
Web 2.0 Tech Talk
 
Visual Studio 2015: novità per gli sviluppatori iOS, Android e Cross-Platform
Visual Studio 2015: novità per gli sviluppatori iOS, Android e Cross-PlatformVisual Studio 2015: novità per gli sviluppatori iOS, Android e Cross-Platform
Visual Studio 2015: novità per gli sviluppatori iOS, Android e Cross-Platform
 

Plus de MySpaceDevTeam

OSML and OpenSocial 0.9
OSML and OpenSocial 0.9OSML and OpenSocial 0.9
OSML and OpenSocial 0.9MySpaceDevTeam
 
Getting Started with MySpace Applications
Getting Started with MySpace ApplicationsGetting Started with MySpace Applications
Getting Started with MySpace ApplicationsMySpaceDevTeam
 
Porting Your Apps to MySpace by Playfish
Porting Your Apps to MySpace by PlayfishPorting Your Apps to MySpace by Playfish
Porting Your Apps to MySpace by PlayfishMySpaceDevTeam
 
MySpaceID Overview 2.5.09
MySpaceID Overview 2.5.09MySpaceID Overview 2.5.09
MySpaceID Overview 2.5.09MySpaceDevTeam
 
MySpace Open Platform enhancements with OpenSocial 0.9
MySpace Open Platform enhancements with OpenSocial 0.9MySpace Open Platform enhancements with OpenSocial 0.9
MySpace Open Platform enhancements with OpenSocial 0.9MySpaceDevTeam
 

Plus de MySpaceDevTeam (6)

OSML and OpenSocial 0.9
OSML and OpenSocial 0.9OSML and OpenSocial 0.9
OSML and OpenSocial 0.9
 
Getting Started with MySpace Applications
Getting Started with MySpace ApplicationsGetting Started with MySpace Applications
Getting Started with MySpace Applications
 
App Activity Streams
App Activity StreamsApp Activity Streams
App Activity Streams
 
Porting Your Apps to MySpace by Playfish
Porting Your Apps to MySpace by PlayfishPorting Your Apps to MySpace by Playfish
Porting Your Apps to MySpace by Playfish
 
MySpaceID Overview 2.5.09
MySpaceID Overview 2.5.09MySpaceID Overview 2.5.09
MySpaceID Overview 2.5.09
 
MySpace Open Platform enhancements with OpenSocial 0.9
MySpace Open Platform enhancements with OpenSocial 0.9MySpace Open Platform enhancements with OpenSocial 0.9
MySpace Open Platform enhancements with OpenSocial 0.9
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 

Dernier (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 

Building Apps with MySpace SDKs

  • 1.
  • 2. Building Apps With MySpace SDKs Chak Nanga (Architect) KiamChoo (Sr. Technical Evangelist)
  • 3. Introduction • SDKs support quot;on-sitequot; and quot;off-sitequot; app development • quot;On-Sitequot;/OpenSocial Applications (Canvas View) – OpenSocial app’s canvas view hosted on your server – Written using a language/framework of your choice – App logic hosted on your servers and displayed on MySpace in an IFrame • quot;Off-Site”/MySpaceID Applications – Apps/Services that leverage MySpace social data outside MySpace – Written in a language/framework of your choice – Apps hosted on your servers
  • 4. MySpace SDKs Overview • MySpace REST APIs are at the core of the SDKs • SDKs provide a high level interface to the REST APIs – High level APIs to get social data from MySpace (friends, profile etc.) – Abstracts away the protocol details (OAuth signing) • Available in multiple languages – C#, Java, PHP, Python, Ruby • Consistent interface across all the languages • Open-sourced and hosted on google code • Contributors are welcome!
  • 5. SDK Contents • Core API library and dependent libraries (Oauth, OpenID etc) • Samples for supported usage scenarios – OAuth Delegated Access (“3-Legged” Oauth) – OpenID + OAuth Hybrid • Documentation
  • 6. Building an “on-site” application • Choose the quot;External IFramequot; radio button in the Canvas Surface tab • Enter the IFrame URL in the text box
  • 7. Building an “on-site” application • Canvas view rendered in an IFrame • Iframe “src” set to IFrame URL (signed request from MySpace) • Verify signatures when request hits your servers • Extract user id from the request • Utilize the user id in the SDK calls
  • 9. Building a MySpaceID application
  • 10. OAuth Delegated Access Demo • Application steps – Get request token – Redirect to authorization page (on MySpace) – User approves application request – MySpace redirects to the supplied callback URL – Get access token – Access social data using the SDK
  • 11. OAuth Delegated Access Code • Get Request Token + Redirect to Service Provider
  • 12. OAuth Delegated Access Code • Get Access Token (in the Service Provider callback)
  • 13. OAuth Delegated Access Code • Access protected resources
  • 14. OpenID + OAuth “hybrid” Demo • MySpace is a “Combined Provider” (OpenID Provider + OAuth Service Provider) • OpenIDOAuth extension (“hybrid”) – Combines authentication and authorization screen for two protocols – Better user experience • Application steps – Use OpenID library to initiate authentication – Embed OAuth approval request into OpenID authentication request – Combined Provider returns approved request token – Combined Cosumer exchanges the request token for access token – Access social data using the SDK
  • 15. OpenID + OAuth “hybrid” Code • Embed OAuth approval request
  • 16. OpenID + OAuth “hybrid” Code • Exchange approved request token for access token • Access user data
  • 17. Thank You! • Additional Information – http://developer.myspace.com/myspaceid/