Making your Application Social with the Chatter APILogan HenriquezProduct Manager@loganhQuinton WallDeveloper Evangelist@q...
Safe HarborSafe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation maycontain ...
@forcedotcom / #forcewebinarDeveloper Force Groupfacebook.com/forcedotcom  Follow us @forcedotcom
Agenda  Why Social Enable Your App?  Use Cases  Eloqua: Demo and Sample Code  Tips  Summer ‘12 Preview  Q&A         ...
Make any app social with the Chatter API                        REST API                  Follow us @forcedotcom
IT: Why Social Enable Your Custom Apps?                                                                   Partners, custom...
IT: Why Social Enable Your Packaged Apps?                                                               Easily add social ...
Follow us @forcedotcom
Chatter API Use Cases           Follow us @forcedotcom
Next Generation Intranets for the Social EnterpriseBurberry World                                                Company-...
Use Case – Custom Mobile, Desktop, TabletApps                                   Build custom mobile                      ...
Use Case - Internet of Things                                            • Share service data                             ...
Build Highly Branded Customer Communities                                             • Enable partners or                ...
Drive Collaboration Around Business Process and Data                                              • Chatter feed inside   ...
Drive Collaboration Around Business Process and Data                     Follow us @forcedotcom
Eloqua Use Case  105,000                                           42                            2.5 Billion              ...
Why Collaboration with Chatter?  Buyers need information    – Marketers create info assets    – Sales has relationships ...
What scenario are we solving Sales                                     Marketer                  Follow us @forcedotcom
Eloqua Demo
REST API Resources          Follow us @forcedotcom
Chatter API Resources  Latest version    –   "/services/data/v24.0/chatter”  All requests to API made using OAuth2  Sta...
How We’re Using the Chatter API                        Today          Future Feed Users Groups Messages Records Topics Rec...
/chatter/users/me     TBD – styling changes                             Follow us @forcedotcom
Feed Item Resources
Comments Resources
Users Resources
Comments Resource ( POST )
Chatter API Tips            Follow us @forcedotcom
Chatter API or SObject REST API?  Chatter API:    – Semantically rich resources    – Localized presentation-ready data in...
Tips - General  Group feeds are just record feeds    – /chatter/feeds/record/<group id>  Security model of UI is observe...
Rate Limiting  Rate limiting:    – each user + remote access app combination gets 200 requests      per hour  Requests t...
Tips – Javascript served from non-salesforce domain  Use a controller pass-thru to work around Single Origin   Policy for...
Tips – Javascript served from salesforce domain  Can make ajax requests directly to Chatter API and   render to HTML on c...
Tips – Apex  Apex Now   – Call the Chatter API using Apex callouts   – Use session Id from UserInfo  Apex Future   – Con...
Connect in Apex (Pilot in Summer)  Exposing the same Chatter API resources and data in   Apex  Use cases include:    – C...
How do I begin?      https://developer.force.com/chatter-api                  Follow us @forcedotcom
Take Aways  Chatter can drive better user engagement with external   applications  Easy to build integrations with exist...
Q&A   http://bit.ly/chattersur              vey@loganh                     @quintonwall          Follow us @forcedotcom
Upcoming SlideShare
Loading in …5
×

Making Applications Social with the Chatter API Webinar

923 views

Published on

To foster collaboration and productivity, applications need "social" components that facilitate conversations and workflow across the enterprise. Chatter and the Chatter REST API can help you simplify the process of building social apps, including intranets, portals, and custom mobile apps.

Watch this webinar to learn about:
:: API Feature overview with code samples
:: Spring '12 enhancements to the Chatter API
:: Sneak peek into what is coming soon in the Chatter API

More details: http://wiki.developerforce.com/page/Webinar:_ChatterAPI12

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
923
On SlideShare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
22
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Making Applications Social with the Chatter API Webinar

  1. 1. Making your Application Social with the Chatter APILogan HenriquezProduct Manager@loganhQuinton WallDeveloper Evangelist@quintonwall Follow us @forcedotcom
  2. 2. Safe HarborSafe harbor statement under the Private Securities Litigation Reform Act of 1995: This presentation maycontain forward-looking statements that involve risks, uncertainties, and assumptions. If any suchuncertainties 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. Allstatements other than statements of historical fact could be deemed forward-looking, including anyprojections of subscriber growth, earnings, revenues, or other financial items and any statements regardingstrategies or plans of management for future operations, statements of belief, any statements concerningnew, planned, or upgraded services or technology developments and customer contracts or use of ourservices.The risks and uncertainties referred to above include – but are not limited to – risks associated withdeveloping and delivering new functionality for our service, our new business model, our past operatinglosses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Webhosting, breach of our security measures, the immature market in which we operate, our relatively limitedoperating history, our ability to expand, retain, and motivate our employees and manage our growth, newreleases of our service and successful customer deployment, and utilization and selling to larger enterprisecustomers. 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 on April 30, 2008 and in other filings with theSecurities and Exchange Commission. These documents are available on the SEC Filings section of theInvestor Information section of our Web site.Any unreleased services or features referenced in this or other press releases or public statements are notcurrently available and may not be delivered on time or at all. Customers who purchase our services shouldmake 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.
  3. 3. @forcedotcom / #forcewebinarDeveloper Force Groupfacebook.com/forcedotcom Follow us @forcedotcom
  4. 4. Agenda  Why Social Enable Your App?  Use Cases  Eloqua: Demo and Sample Code  Tips  Summer ‘12 Preview  Q&A Follow us @forcedotcom
  5. 5. Make any app social with the Chatter API REST API Follow us @forcedotcom
  6. 6. IT: Why Social Enable Your Custom Apps? Partners, customers, suppliers Collab between dept. & teams Make existing apps social Follow us @forcedotcom
  7. 7. IT: Why Social Enable Your Packaged Apps? Easily add social functionalityConnect to enterprise- (feeds, likes, comments etc) wide news feed (eg: Chatter) Distribute app virally via feed Follow us @forcedotcom
  8. 8. Follow us @forcedotcom
  9. 9. Chatter API Use Cases Follow us @forcedotcom
  10. 10. Next Generation Intranets for the Social EnterpriseBurberry World  Company-wide and team based collaboration  Dynamic, real-time information  Integration of multiple data sources  Sharepoint webpart reference implementation Follow us @forcedotcom
  11. 11. Use Case – Custom Mobile, Desktop, TabletApps  Build custom mobile applications, e.g. – Product information apps – Q&A – Note taking and case discussion for medical providers https://github.com/quintonwall/rhatter https://github.com/cseymourSF/Chatter-API-iOS-Sample Follow us @forcedotcom
  12. 12. Use Case - Internet of Things • Share service data from Cars, Generators, Computers – using custom object records / feeds • Foster conversation centered on products and services. • Scenarios: - Service - Technical presales - Technical support - Project Management Follow us @forcedotcom
  13. 13. Build Highly Branded Customer Communities • Enable partners or customers to collaborate with your employees or each other • Share business process data • Customize the UX to meet your exact brand requirements • Extend to mobile and tablet apps Follow us @forcedotcom
  14. 14. Drive Collaboration Around Business Process and Data • Chatter feed inside external applications • Supplement data, process, and analytics with rich conversations • Analytics, Finance, Supply Chain Management, HR Follow us @forcedotcom
  15. 15. Drive Collaboration Around Business Process and Data Follow us @forcedotcom
  16. 16. Eloqua Use Case 105,000 42 2.5 Billion 8.2 Billion Follow us @forcedotcom
  17. 17. Why Collaboration with Chatter?  Buyers need information – Marketers create info assets – Sales has relationships  Collaboration is key: Sales intuition + Marketing resources = Buyer engagement Follow us @forcedotcom
  18. 18. What scenario are we solving Sales Marketer Follow us @forcedotcom
  19. 19. Eloqua Demo
  20. 20. REST API Resources Follow us @forcedotcom
  21. 21. Chatter API Resources  Latest version – "/services/data/v24.0/chatter”  All requests to API made using OAuth2  Start here http://developer.force.com/chatter-api Follow us @forcedotcom
  22. 22. How We’re Using the Chatter API Today Future Feed Users Groups Messages Records Topics Recommendations Files Organization Follow us @forcedotcom
  23. 23. /chatter/users/me TBD – styling changes Follow us @forcedotcom
  24. 24. Feed Item Resources
  25. 25. Comments Resources
  26. 26. Users Resources
  27. 27. Comments Resource ( POST )
  28. 28. Chatter API Tips Follow us @forcedotcom
  29. 29. Chatter API or SObject REST API?  Chatter API: – Semantically rich resources – Localized presentation-ready data in JSON or XML form – Comprehensive feed data in a single request – Matches the web UI  SObject REST API: – Data directly from the database – Arbitrary SOQL queries  The same Oauth tokens can be used for both Follow us @forcedotcom
  30. 30. Tips - General  Group feeds are just record feeds – /chatter/feeds/record/<group id>  Security model of UI is observed – News feed can only be retrieved for the logged-in user  Following an object is described by a “subscription”. DELETE the subscription to stop following  Use Accept-Encoding: gzip, deflate’ HTTP header  Always encrypt your Oauth access and refresh tokens Follow us @forcedotcom
  31. 31. Rate Limiting  Rate limiting: – each user + remote access app combination gets 200 requests per hour  Requests to endpoints outside /chatter and /connect are not counted in this rate limit – Image requests not rate limited – Sobject API requests count against org-wide rate limit  Use separate remote access apps for production and development to avoid being rate limited – Also use different users if your automated tests run often Follow us @forcedotcom
  32. 32. Tips – Javascript served from non-salesforce domain  Use a controller pass-thru to work around Single Origin Policy for ajax requests  Two approaches to rendering: – pass JSON responses through server as-is and render using client side template library such as Mustache, Handlebars, or Eco – Deserialize and render to HTML on the server and send to client  Requests from HTML (img tags, HTML forms) must also use controller pass-thru to put Oauth token into HTTP header Follow us @forcedotcom
  33. 33. Tips – Javascript served from salesforce domain  Can make ajax requests directly to Chatter API and render to HTML on client. – When Connect in Apex goes GA, you can also make requests to a controller to get custom rendered HTML.  Use an ajax proxy if you’re on a custom domain. (see the salesforce ajax toolkit) to work around SOP. Follow us @forcedotcom
  34. 34. Tips – Apex  Apex Now – Call the Chatter API using Apex callouts – Use session Id from UserInfo  Apex Future – ConnectAPI class will provide Chatter API resources directly Follow us @forcedotcom
  35. 35. Connect in Apex (Pilot in Summer)  Exposing the same Chatter API resources and data in Apex  Use cases include: – Customized social experiences in Visualforce – Custom Chatter feed rendering in Visualforce – Posting feed items with @-mentions in Apex – Modifying user and group photos in Apex  Taking pilot nominations over the next two weeks. Follow us @forcedotcom
  36. 36. How do I begin? https://developer.force.com/chatter-api Follow us @forcedotcom
  37. 37. Take Aways  Chatter can drive better user engagement with external applications  Easy to build integrations with existing applications  Wealth of interesting use cases emerge from news feed integration. Follow us @forcedotcom
  38. 38. Q&A http://bit.ly/chattersur vey@loganh @quintonwall Follow us @forcedotcom

×