33
Integrating SalesForce.com with OpenSocial Chris Schalk, Google Developer Advocate 11/05/2008

Integrating OpenSocial & SalesForce.com

  • View
    7.932

  • Download
    0

Embed Size (px)

DESCRIPTION

A presentation given at Dreamforce 08 where OpenSocial technologies where integrated with SalesForce.com

Citation preview

Page 1: Integrating OpenSocial & SalesForce.com

Integrating SalesForce.com withOpenSocial

Chris Schalk, Google Developer Advocate

11/05/2008

Page 2: Integrating OpenSocial & SalesForce.com

2

Agenda

• OpenSocial Concepts

• Exploring ways to connect OpenSocial with

SalesForce.com

Page 3: Integrating OpenSocial & SalesForce.com

3

Agenda

• OpenSocial Concepts

• Exploring ways to connect OpenSocial with

SalesForce.com

Page 4: Integrating OpenSocial & SalesForce.com

4

OpenSocial Concepts

What is OpenSocial?

“OpenSocial defines a common set of APIs based on Open Standardsfor building social applications across multiple websites”

Page 5: Integrating OpenSocial & SalesForce.com
Page 6: Integrating OpenSocial & SalesForce.com
Page 7: Integrating OpenSocial & SalesForce.com

Too many platforms!

Page 8: Integrating OpenSocial & SalesForce.com

Standards based

OpenSocial

Write once… Deploy everywhere

Page 9: Integrating OpenSocial & SalesForce.com

Massive exposure foryour apps!

Page 10: Integrating OpenSocial & SalesForce.com

10

Not just Social Network Sites

• Social network sites - Profiles and home pagesex: MySpace, Hi5

• Personal dashboards – Widgetsex: iGoogle, My Yahoo

• Sites based around a Social Objectex: Flickr, YouTube

• Enterprise, Professionalex: LinkedIn, Oracle, SalesForce.com

• Any web site

Page 11: Integrating OpenSocial & SalesForce.com

Some OpenSocial Partners

Page 12: Integrating OpenSocial & SalesForce.com

Today: 375 Million User Reach

Page 13: Integrating OpenSocial & SalesForce.com

Where is OpenSocial live today?

Applications live to Users:

• MySpace• orkut• Hi5• Freebar• Friendster• Webon from Lycos• IDtail• YiQi• Netlog• Hyves• LinkedIn - New

Initial Developer Sandboxes:

• iGoogle• imeem• CityIN• Tianya• Ning• Plaxo Pulse• Mail.ru

Individual Developer Links:http://code.google.com/apis/opensocial/gettingstared.html

Page 14: Integrating OpenSocial & SalesForce.com

14

OpenSocial today

375,000,000 users

150,000,000 installs

4,500+ apps

Pipeline of 100+ containers worldwide

20,000+ developers

10,000,000 daily app users

Page 15: Integrating OpenSocial & SalesForce.com

15

OpenSocial Roadmap

• Version 0.5 was released in a “developer release” on Nov1st.

• First “sandbox” was made available on Orkut

• Version 0.6 was released in December• Initial version of Shindig server software was launched as Apacheincubator project• Other sandboxes came live - Hi5, Ning, Plaxo …

• Version 0.7 (production) was released in January• MySpace, Hi5, Orkut currently running with 0.7

Page 16: Integrating OpenSocial & SalesForce.com

16

OpenSocial Roadmap

• Version v0.8 is current

• Latest evolution of OpenSocial as defined by theOpenSocial development community

• Updated JavaScript API• Now contains a RESTful API

• hi5, MySpace, orkut, iGoogle now support 0.8

• Specification:http://www.opensocial.org/Technical-Resources/opensocial-spec-v08

Page 17: Integrating OpenSocial & SalesForce.com

17

OpenSocial v0.8.1 spec is here

• Specification is now published• Updates include:

• RESTful Protocol updates• JSON RPC Protocol

• Specification:http://sites.google.com/a/opensocial.org/opensocial/Technical-Resources/opensocial-spec-v081

Page 18: Integrating OpenSocial & SalesForce.com

18

OpenSocial 0.9 - Future Directions

• Goal:

– Enable a faster development experience that is both secure andefficient

• Solution: “Opensocial Templates”!

OS Templates core principles:

• Client-side and server-side processing

• Standard set of tags with extensibility model

– Example: <os:ShowPerson>

• http://groups.google.com/group/opensocial-and-gadgets-spec/web/opensocial-templates

– Demo: http://ostemplates-demo.appspot.com/

Page 19: Integrating OpenSocial & SalesForce.com

19

To follow the progress of the Spec…

http://groups.google.com/group/opensocial-and-gadgets-spec

Page 20: Integrating OpenSocial & SalesForce.com

20

Demonstration: Building OpenSocial Applications

Page 21: Integrating OpenSocial & SalesForce.com

21

Agenda

• OpenSocial Concepts

• Exploring ways to connect OpenSocial with

SalesForce.com

Page 22: Integrating OpenSocial & SalesForce.com

22

How to connect SFDC with OpenSocial?

?

Page 23: Integrating OpenSocial & SalesForce.com

23

How to connect SFDC with OpenSocial?

Option 1: Pull/push data into SFDC using OpenSocial’s RESTful protocol

orkut

hi5

LinkedIn

REST0110100101011

Page 24: Integrating OpenSocial & SalesForce.com

24

Option 1: Pull/push data into SFDC using OpenSocial’sRESTful protocol

• Goal: To access data only from OpenSocial sites

• Requirements:• Read/Write access to data from OpenSocial sites,…• Integrate into SFDC …

• Implementation• Use RESTful protocol supported by OpenSocial sites

• Use Apex code to directly access OpenSocial sites

Page 25: Integrating OpenSocial & SalesForce.com

25

How to connect SFDC with OpenSocial?

Option 2: Can pull OpenSocial apps into SalesForce.com

iGoogle

FriendConnect

Page 26: Integrating OpenSocial & SalesForce.com

26

Option 2: Pulling OpenSocial Apps into SFDC

• Goal: To provide OpenSocial apps from withinSalesForce.com

• Requirements:• Provide access to OpenSocial apps as they would appear

in iGoogle, or other OpenSocial containers, but fromwithin a SalesForce.com UI.

• App functionality should not be hindered by beingrendered within SalesForce.com environment.

• Implementation• Leverage existing ways to publish gadgets/OpenSocial

apps via generated JavaScript snippets.• For OpenSocial, FriendConnect can be used.

Page 27: Integrating OpenSocial & SalesForce.com

27

Demonstration: Pulling OpenSocial Apps into SFDC

Page 28: Integrating OpenSocial & SalesForce.com

28

How to connect SFDC with OpenSocial?

Option 3: Publish SalesForce.com OpenSocial apps to OpenSocial Sites

orkut

hi5

LinkedIn

REST

Page 29: Integrating OpenSocial & SalesForce.com

29

Option 3: Publish SalesForce.com OpenSocialsites to OpenSocial sites

• Goal: To provide access to SFDC from an OpenSocialapplication

• Requirements:• Read/Write access to SFDC Accounts,Contacts,Leads,…• Connect OpenSocial contacts with SFDC Contacts/Leads

• Implementation• Use Force.com site to serve as OpenSocial App provider

• Publish static OpenSocial XML app spec• Build a data gateway for OpenSocial app clients

• Use Apex pages, classes

Page 30: Integrating OpenSocial & SalesForce.com

30

Demonstration: Building an SFDC OpenSocial App

with Force.com Sites

Page 31: Integrating OpenSocial & SalesForce.com

31

Summary

It is relatively easy to bridge SFDC with OpenSocial!

• Can use REST protocol for simple communication layer

• For Gadget/App integration an iFrame solution works well

• For OpenSocial SFDC apps, RESTful protocol provides asolution

Page 32: Integrating OpenSocial & SalesForce.com

32

Useful Links

Homepage & specification:• http://www.opensocial.org

Get on the forums:• http://groups.google.com/group/opensocial

Subscribe to the Shindig mailing list:• [email protected]

Help shape the specification:• http://groups.google.com/group/opensocial-and-gadgets-spec/

Templates:• http://groups.google.com/group/opensocial-and-gadgets-spec/web/opensocial-templates

Check out Shindig:• http://incubator.apache.org/shindig

Page 33: Integrating OpenSocial & SalesForce.com

33

Questions - Contact Info

Q&A

chrisschalk.com