leveraging public social networks

28
Leveraging Public Social Networks Developers Sandeep Bhanot: salesforce.com Jeff Douglas: Appirio

Upload: salesforce

Post on 15-Jan-2015

650 views

Category:

Business


1 download

DESCRIPTION

As Social Networking sites continue to grow in popularity, connecting Force.com to where your customers are is more important than ever. This technical session will teach you how to connect Force.com with popular social networking sites such as Facebook and Foursquare. Feel the power!

TRANSCRIPT

Page 1: Leveraging Public Social Networks

Leveraging Public Social NetworksDevelopers

Sandeep Bhanot: salesforce.comJeff Douglas: Appirio

Page 2: Leveraging Public Social Networks

Safe HarborSafe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of subscriber growth, attrition, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services.

The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, subscriber attrition, interruptions or delays in our Web hosting, breach of our security measures, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K filed and our quarterly report for the most recent fiscal quarter ended October 31, 2008. These documents are available on the SEC Filings section of the Investor Information section of our Web site.

Any unreleased services or features referenced in this or other press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.

Page 3: Leveraging Public Social Networks

What to Walk Away With

Foursquare integration– How to synchronize Foursquare check-ins with a user’s Chatter feed

– ‘Nearby Chatter’ : How to post check-ins to nearby Account/Case

records

– How to email the user a list of nearby Accounts and Leads

Facebook toolkit– What’s new in the Facebook toolkit

– How to configure and use the Facebook toolkit

– How to use social Visualforce components with Force.com Sites

Be inspired to create new mash-ups with other social networks

Page 4: Leveraging Public Social Networks

Social Networks and the Enterprise

Foursquare Integration– Demo

– Code walkthrough

Facebook Integration– What’s new with the Facebook toolkit

– Building Facebook Apps

– Adding social plugins to your Sites

Q & A

Agenda

Page 5: Leveraging Public Social Networks

Social Networks and the Enterprise

Foursquare Integration– Demo

– Code walkthrough

Facebook Integration– What’s new with the Facebook toolkit

– Building Facebook Apps

– Adding social plugins to your Sites

Q & A

Agenda

Page 6: Leveraging Public Social Networks

2009: Social Networking Surpasses Email

250

450

650

850

11/06 3/07 7/07 11/07 3/08 7/08 11/08 3/09 7/09 11/09

Source: Morgan Stanley Internet Mobile Report, December 2009

Email Users

Social Networking Users

Glo

bal U

sers

(M

M)

Inflection Point

Facebook has reached its half-billion member mark, with an online population larger than the combined population of the U.S., Mexico, and France.

“”

Page 7: Leveraging Public Social Networks

But How Does the Social Network Relate to Salesforce and the Enterprise?

Use social network to find hidden connections and close more deals

New ‘Word-of-mouth’ sales apps that leverage the social graph

Marketing/Brand Management via Facebook, Twitter etc.

More responsive and pro-active customer service by engaging with customers in Facebook, Twitter etc.

Crowd-source common customer questions/ issues

Make your Site viral by leveraging Facebook social plugins

Increase consumer participation in your public Site by using

Page 8: Leveraging Public Social Networks

Stories from the Social Web – All Powered by Salesforce

Sites & Facebook app to support national “pledge for service” campaign

Referral based Marketing through Facebook

Monitors Twitter conversations to improve Customer Service

Viral recruiting app on Facebook

- Issues identified 2.5 hours before call center

- Increased engagement with >10,000 mark reps - 2X order size increase

- 5x Increase in Qualified Applicants- Within 2 months had a 500% increase in qualified inquiries

- Created Facebook application to engage 600,000+ Starbucks fans on Facebook- 10M+Users, Built in 21 Days

Page 9: Leveraging Public Social Networks

& added to a public Product Catalog (Sites)Recommendations

to track mobile Field Service Agents

to help Sales Rep find nearby clients/prospects

itineraries synchronized with Chatter

Profile synchronized with Chatter Profile

Etc….

And….

Your Logo Here

Page 10: Leveraging Public Social Networks

Social Networks and the Enterprise

Foursquare Integration– Demo

– Code walkthrough

Facebook Integration– What’s new with the Facebook toolkit

– Building Facebook Apps

– Adding social plugins to your Sites

Q & A

Agenda

Page 11: Leveraging Public Social Networks

1. Use OAuth Apex client to authenticate with Foursquare

2. Store OAuth token in a custom object in Salesforce

3. Scheduled Apex class uses OAuth token and 4Sq REST API to retrieve check-in history

4. Each Check-in is posted to user’s Chatter feed using standard Chatter APIs

5. Search for Account/Case records within x Miles of each check-in (assumes that the records are already geo-coded)

6. Post check-in to the Entity Feed of each matching Account/Case record

7. Email user a list of nearby Accounts and Leads assumes that the records are already geo-coded)

Foursquare Integration – High Level Design

Page 12: Leveraging Public Social Networks

Demo

Page 13: Leveraging Public Social Networks

Code Walkthrough

Page 14: Leveraging Public Social Networks

Recap – What Did We See?

How to use the Apex OAuth client to authenticate with

Foursquare

How to use a combination of Scheduled Apex and the

Foursquare REST APIs to retrieve a user’s check-in history

How to use the Chatter APIs to post check-in to a user’s feed

How to find any Account/Case records within a 5 mile radius

of the user’s check-in coordinates that the user is following

How to post the check-in to the Entity Feeds of any matching

Account/Case records

Page 15: Leveraging Public Social Networks

Jeff Douglas

Appirio

Page 16: Leveraging Public Social Networks

Social Networks and the Enterprise

Foursquare Integration– Demo

– Code walkthrough

Facebook Integration– What’s new with the Facebook toolkit

– Building Facebook Apps

– Adding social plugins to your Sites

Q & A

Agenda

Page 17: Leveraging Public Social Networks

New Graph API– REST-based API that drastically simplifies the way developers read and write

data to Facebook

Extended Permissions– Request access to private user data or publish content for user

OAuth Support– OAuth2 support for authorization bake-in

– No need to store user credentials!!

JSON Data– Returns friendlier JSON data strings

New Social Plugins– Easily use “Like” and other social plugins in your Force.com Sites applications.

What’s “New and Improved”?

Page 18: Leveraging Public Social Networks

Install the new Facebook toolkit

Create a new application in Facebook

Create and configure a new application in Force.com

Authorize access to Facebook

Run the Facebook “Tester”

Getting Started

Page 19: Leveraging Public Social Networks

Demo

Page 20: Leveraging Public Social Networks

Easily add new social plugins such as Like,

Recommendation and Recent Activities

Drop-in custom Visualforce components

Build your own social components

Make Force.com Sites More “Socialable”

Page 21: Leveraging Public Social Networks

Demo

Page 22: Leveraging Public Social Networks

Recap – What Did We See?

How to setup and configure applications for both

Facebook and Force.com

How to authorize access to Facebook using OAuth

How to use the “Tester” to fetch JSON data via the

Graph API

How to use Facebook data in your application

How to easily add social plugins to your Force.com

Sites pages

Page 23: Leveraging Public Social Networks

Key Take Aways

Harness the power of Social Networks in your

Salesforce implementation!

Foursquare integration is one way to add location

awareness to Chatter

The Apex OAuth 1.0 client can be used to integrate with

other Social Networks – TripIt etc.

Facebook toolkit – new and improved!

Leverage the Facebook social graph using the new

toolkit components for Like, Recommendations, etc.

Page 24: Leveraging Public Social Networks

Foursquare application– http://wiki.developerforce.com/index.php/Location-Aware_Collaborative_Applications_on_Force.com_with_F

oursquare_and_Salesforce_Chatter

OAuth 1.0 Apex client http://developer.force.com/codeshare/project/OAuth-Playground

OAuth 1.0 primer http://wiki.developerforce.com/index.php/Using_OAuth_to_Authorize_External_Applications

Facebook Toolkit How-to article– http://wiki.developerforce.com/index.php/Getting_Started_with_the_new_Facebook_Toolkit

Twitter Toolkit– http://developer.force.com/codeshare/projectpage?id=a06300000030w3aAAA

Additional Resources

Page 25: Leveraging Public Social Networks

Q &A

Page 26: Leveraging Public Social Networks

Leveraging Public Social Networks

Page 27: Leveraging Public Social Networks

D I S C O V E R

Visit the Developer Training and Support Booth in Force.com Zone

Discover

Developer

Learning Paths

Developer training, certification and support resources

S U C C E S SFind us in the Partner Demo Area of

Force.com Zone 2nd Floor Moscone West

that help you achieve

Learn about Developer

Certifications

Page 28: Leveraging Public Social Networks

How Could Dreamforce Be Better? Tell Us!

Log in to the Dreamforce app to submit

surveys for the sessions you attendedUse the

Dreamforce Mobile app to submit

surveysEvery session survey you submit is

a chance to win an iPod nano!

OR