Leveraging Public Social Networks


Published on

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!

Published in: Business
  • Be the first to comment

  • Be the first to like this

Leveraging Public Social Networks

  1. 1. Leveraging Public Social Networks<br />Developers<br />SandeepBhanot: salesforce.com<br />Jeff Douglas: Appirio<br />
  2. 2. Safe Harbor<br />Safe 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.<br />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. <br />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.<br />
  3. 3. What to Walk Away With<br />Foursquare integration<br />How to synchronize Foursquare check-ins with a user’s Chatter feed<br />‘Nearby Chatter’ : How to post check-ins to nearby Account/Case records <br />How to email the user a list of nearby Accounts and Leads<br />Facebook toolkit<br />What’s new in the Facebook toolkit<br />How to configure and use the Facebook toolkit<br />How to use social Visualforce components with Force.com Sites<br />Be inspired to create new mash-ups with other social networks<br />
  4. 4. Social Networks and the Enterprise<br />Foursquare Integration<br />Demo<br />Code walkthrough<br />Facebook Integration<br />What’s new with the Facebook toolkit<br />Building Facebook Apps<br />Adding social plugins to your Sites<br />Q & A<br />Agenda<br />
  5. 5. Social Networks and the Enterprise<br />Foursquare Integration<br />Demo<br />Code walkthrough<br />Facebook Integration<br />What’s new with the Facebook toolkit<br />Building Facebook Apps<br />Adding social plugins to your Sites<br />Q & A<br />Agenda<br />
  6. 6. 2009: Social Networking Surpasses Email<br />Social Networking Users<br />Inflection Point<br />Email Users<br />Global Users (MM)<br />“<br />Facebook has reached its half-billion member mark, with an online population larger than the combined population of the U.S., Mexico, and France.<br />”<br />Source: Morgan Stanley Internet Mobile Report, December 2009 <br />
  7. 7. But How Does the Social Network Relate to Salesforce and the Enterprise?<br /><ul><li>Use social network to find hidden connections and close more deals
  8. 8. New ‘Word-of-mouth’ sales apps that leverage the social graph
  9. 9. Marketing/Brand Management via Facebook, Twitter etc.
  10. 10. More responsive and pro-active customer service by engaging with customers in Facebook, Twitter etc.
  11. 11. Crowd-source common customer questions/ issues
  12. 12. Make your Site viral by leveraging Facebook social plugins
  13. 13. Increase consumer participation in your public Site by using</li></li></ul><li>Stories from the Social Web – All Powered by Salesforce<br />Monitors Twitter conversations to improve Customer Service<br />- Issues identified 2.5 hours before call center<br />Referral based Marketing through Facebook<br /><ul><li> Increased engagement with >10,000mark reps - 2X order size increase</li></ul>Sites & Facebook app to support national “pledge for service” campaign <br />- Created Facebook application to engage 600,000+ Starbucks fans on Facebook<br /><ul><li>10M+Users, Built in 21 Days</li></ul>Viral recruiting app on Facebook<br />- 5x Increase in Qualified Applicants<br /><ul><li> Within 2 months had a 500% increase in qualified inquiries</li></li></ul><li> & added to a public Product Catalog (Sites)<br />Recommendations<br /> to track mobile Field Service Agents<br /> to help Sales Rep find nearby clients/prospects<br /> itineraries synchronized with Chatter<br /> Profile synchronized with Chatter Profile<br /> Etc….<br />And….<br />Your Logo Here<br />
  14. 14. Social Networks and the Enterprise<br />Foursquare Integration<br />Demo<br />Code walkthrough<br />Facebook Integration<br />What’s new with the Facebook toolkit<br />Building Facebook Apps<br />Adding social plugins to your Sites<br />Q & A<br />Agenda<br />
  15. 15. 1. Use OAuth Apex client to authenticate with Foursquare<br />2. Store OAuth token in a custom object in Salesforce<br />3. Scheduled Apex class uses OAuth token and 4Sq REST API to retrieve check-in history<br />4. Each Check-in is posted to user’s Chatter feed using standard Chatter APIs<br />5. Search for Account/Case records within x Miles of each check-in (assumes that the records are already geo-coded)<br />6. Post check-in to the Entity Feed of each matching Account/Case record<br />7. Email user a list of nearby Accounts and Leads assumes that the records are already geo-coded)<br />Foursquare Integration – High Level Design<br />
  16. 16. Demo<br />
  17. 17. Code Walkthrough<br />
  18. 18. Recap – What Did We See?<br />How to use the Apex OAuth client to authenticate with Foursquare<br />How to use a combination of Scheduled Apex and the Foursquare REST APIs to retrieve a user’s check-in history<br />How to use the Chatter APIs to post check-in to a user’s feed<br />How to find any Account/Case records within a 5 mile radius of the user’s check-in coordinates that the user is following<br />How to post the check-in to the Entity Feeds of any matching Account/Case records<br />
  19. 19. Jeff Douglas<br />Appirio<br />
  20. 20. Social Networks and the Enterprise<br />Foursquare Integration<br />Demo<br />Code walkthrough<br />Facebook Integration<br />What’s new with the Facebook toolkit<br />Building Facebook Apps<br />Adding social plugins to your Sites<br />Q & A<br />Agenda<br />
  21. 21. New Graph API<br />REST-based API that drastically simplifies the way developers read and write data to Facebook<br />Extended Permissions<br />Request access to private user data or publish content for user<br />OAuth Support<br />OAuth2 support for authorization bake-in<br />No need to store user credentials!!<br />JSON Data<br />Returns friendlier JSON data strings<br />New Social Plugins<br />Easily use “Like” and other social plugins in your Force.com Sites applications.<br />What’s “New and Improved”?<br />
  22. 22. Install the new Facebook toolkit<br />Create a new application in Facebook<br />Create and configure a new application in Force.com<br />Authorize access to Facebook<br />Run the Facebook “Tester”<br />Getting Started<br />
  23. 23. Demo<br />
  24. 24. Easily add new social plugins such as Like, Recommendation and Recent Activities<br />Drop-in custom Visualforce components<br />Build your own social components<br />Make Force.com Sites More “Socialable”<br />
  25. 25. Demo<br />
  26. 26. Recap – What Did We See?<br />How to setup and configure applications for both Facebook and Force.com<br />How to authorize access to Facebook using OAuth<br />How to use the “Tester” to fetch JSON data via the Graph API<br />How to use Facebook data in your application<br />How to easily add social plugins to your Force.com Sites pages<br />
  27. 27. Key Take Aways<br />Harness the power of Social Networks in your Salesforce implementation!<br />Foursquare integration is one way to add location awareness to Chatter<br />The Apex OAuth 1.0 client can be used to integrate with other Social Networks – TripIt etc.<br />Facebook toolkit – new and improved!<br />Leverage the Facebook social graph using the new toolkit components for Like, Recommendations, etc.<br />
  28. 28. <ul><li>Foursquare application
  29. 29. http://wiki.developerforce.com/index.php/Location-Aware_Collaborative_Applications_on_Force.com_with_Foursquare_and_Salesforce_Chatter
  30. 30. OAuth 1.0 Apex client
  31. 31. http://developer.force.com/codeshare/project/OAuth-Playground
  32. 32. OAuth 1.0 primer
  33. 33. http://wiki.developerforce.com/index.php/Using_OAuth_to_Authorize_External_Applications
  34. 34. Facebook Toolkit How-to article
  35. 35. http://wiki.developerforce.com/index.php/Getting_Started_with_the_new_Facebook_Toolkit
  36. 36. Twitter Toolkit
  37. 37. http://developer.force.com/codeshare/projectpage?id=a06300000030w3aAAA</li></ul>Additional Resources<br />
  38. 38. Q &A<br />
  39. 39. Leveraging Public Social Networks<br />
  40. 40. Visit the Developer Training and Support Booth in Force.com Zone<br />D I S C O V E R<br />Developer training, certification and support resources <br />that help you achieve<br />S U C C E S S<br />Find us in the Partner Demo Area of <br />Force.com Zone 2nd Floor Moscone West<br />Learn about Developer Certifications<br />Discover Developer Learning Paths<br />
  41. 41. How Could Dreamforce Be Better? Tell Us!<br />Log in to the Dreamforce app to submit<br />surveys for the sessions you attended<br />Use the Dreamforce Mobile app to submit surveys<br />OR<br />Every session survey you submit is a chance to win an iPod nano!<br />