SlideShare a Scribd company logo
1 of 38
Download to read offline
Making your Application Social
 with the Chatter API


Logan Henriquez
Product Manager
@loganh

Quinton Wall
Developer Evangelist
@quintonwall



                       Follow us @forcedotcom
Safe Harbor
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, 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, 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, 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 on April 30, 2008 and in other filings with the
Securities and Exchange Commission. 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.
@forcedotcom / #forcewebinar



Developer Force Group



facebook.com/forcedotcom



  Follow us @forcedotcom
Agenda


  Why Social Enable Your App?
  Use Cases
  Eloqua: Demo and Sample Code
  Tips
  Summer ‘12 Preview
  Q&A




                    Follow us @forcedotcom
Make any app social with the Chatter API




                        REST API




                  Follow us @forcedotcom
IT: Why Social Enable Your Custom Apps?




                                                                   Partners, customers, suppliers
 Collab between dept. &
         teams




                                                   Make existing apps social




                          Follow us @forcedotcom
IT: Why Social Enable Your Packaged Apps?




                                                               Easily add social functionality
Connect to enterprise-
                                                               (feeds, likes, comments etc)
 wide news feed (eg:
       Chatter)




                                                  Distribute app virally via feed




                         Follow us @forcedotcom
Follow us @forcedotcom
Chatter API Use Cases




           Follow us @forcedotcom
Next Generation Intranets for the Social Enterprise
Burberry World


                                                Company-wide and team
                                                 based collaboration


                                                Dynamic, real-time
                                                 information


                                                Integration of multiple
                                                 data sources


                                                Sharepoint webpart
                                                 reference implementation


                      Follow us @forcedotcom
Use Case – Custom Mobile, Desktop, Tablet
Apps
                                   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
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
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
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
Drive Collaboration Around Business Process and Data




                     Follow us @forcedotcom
Eloqua Use Case




  105,000
                                           42


                            2.5 Billion
                            8.2 Billion


                  Follow us @forcedotcom
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
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




  Start here
   http://developer.force.com/chatter-api


                           Follow us @forcedotcom
How We’re Using the Chatter API
                        Today          Future

 Feed
 Users
 Groups
 Messages
 Records
 Topics
 Recommendations
 Files
 Organization


                   Follow us @forcedotcom
/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 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
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
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
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
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
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
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
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 existing applications
  Wealth of interesting use cases emerge from news feed
   integration.




                        Follow us @forcedotcom
Q&A
   http://bit.ly/chattersur
              vey


@loganh                     @quintonwall
          Follow us @forcedotcom

More Related Content

What's hot

Noosh State of the Union
Noosh State of the UnionNoosh State of the Union
Noosh State of the Union
Noosh2013
 
WebSphere Portal | The Front End Of SOA
WebSphere Portal | The Front End Of SOAWebSphere Portal | The Front End Of SOA
WebSphere Portal | The Front End Of SOA
Jason Faszholz
 
Welcome to SoftSummit 2011
Welcome to SoftSummit 2011Welcome to SoftSummit 2011
Welcome to SoftSummit 2011
Flexera
 
Developing a Cutting Edge Social Enterprise Software Strategy that Leverages ...
Developing a Cutting Edge Social Enterprise Software Strategy that Leverages ...Developing a Cutting Edge Social Enterprise Software Strategy that Leverages ...
Developing a Cutting Edge Social Enterprise Software Strategy that Leverages ...
Enterprise 2.0 Conference
 

What's hot (20)

Speed to Deployment: Implement Instant and Pop-up Networks Using Flexible 3G/...
Speed to Deployment: Implement Instant and Pop-up Networks Using Flexible 3G/...Speed to Deployment: Implement Instant and Pop-up Networks Using Flexible 3G/...
Speed to Deployment: Implement Instant and Pop-up Networks Using Flexible 3G/...
 
Why Mashups Matter
Why Mashups MatterWhy Mashups Matter
Why Mashups Matter
 
Lotus Notes/Domino Update - UK Lotus Users Group, September 2008
Lotus Notes/Domino Update - UK Lotus Users Group, September 2008Lotus Notes/Domino Update - UK Lotus Users Group, September 2008
Lotus Notes/Domino Update - UK Lotus Users Group, September 2008
 
Infosys – Cloud Business Value Architecture
Infosys – Cloud Business Value ArchitectureInfosys – Cloud Business Value Architecture
Infosys – Cloud Business Value Architecture
 
Information Worker
Information WorkerInformation Worker
Information Worker
 
Sept 2011 kma sharepoint for the mobile user webinar final
Sept 2011 kma sharepoint for the mobile user webinar finalSept 2011 kma sharepoint for the mobile user webinar final
Sept 2011 kma sharepoint for the mobile user webinar final
 
Why portal jsf - Srest
Why portal jsf - SrestWhy portal jsf - Srest
Why portal jsf - Srest
 
Noosh State of the Union
Noosh State of the UnionNoosh State of the Union
Noosh State of the Union
 
ITSM in the Cloud - A Change in the Weather
ITSM in the Cloud - A Change in the WeatherITSM in the Cloud - A Change in the Weather
ITSM in the Cloud - A Change in the Weather
 
WebSphere Portal | The Front End Of SOA
WebSphere Portal | The Front End Of SOAWebSphere Portal | The Front End Of SOA
WebSphere Portal | The Front End Of SOA
 
Replication for Business Continuity, Disaster Recovery and High Availability
Replication for Business Continuity, Disaster Recovery and High AvailabilityReplication for Business Continuity, Disaster Recovery and High Availability
Replication for Business Continuity, Disaster Recovery and High Availability
 
Welcome to SoftSummit 2011
Welcome to SoftSummit 2011Welcome to SoftSummit 2011
Welcome to SoftSummit 2011
 
Unica wp ebm_financial
Unica wp ebm_financialUnica wp ebm_financial
Unica wp ebm_financial
 
Competing with Giants - How to Win With Drupal vs. Proprietary Alternatives
Competing  with Giants - How to Win With Drupal vs. Proprietary AlternativesCompeting  with Giants - How to Win With Drupal vs. Proprietary Alternatives
Competing with Giants - How to Win With Drupal vs. Proprietary Alternatives
 
Developing a Cutting Edge Social Enterprise Software Strategy that Leverages ...
Developing a Cutting Edge Social Enterprise Software Strategy that Leverages ...Developing a Cutting Edge Social Enterprise Software Strategy that Leverages ...
Developing a Cutting Edge Social Enterprise Software Strategy that Leverages ...
 
Data Driven Marketing - Advanced Analytics and Targeting
Data Driven Marketing - Advanced Analytics and TargetingData Driven Marketing - Advanced Analytics and Targeting
Data Driven Marketing - Advanced Analytics and Targeting
 
Competing with Giants - How to Win with Drupal vs Proprietary Alternatives
Competing with Giants - How to Win with Drupal vs Proprietary Alternatives Competing with Giants - How to Win with Drupal vs Proprietary Alternatives
Competing with Giants - How to Win with Drupal vs Proprietary Alternatives
 
DDive11 - Social Media Analytics
DDive11 - Social Media AnalyticsDDive11 - Social Media Analytics
DDive11 - Social Media Analytics
 
Richard Nespola - Presentation at Emerging Communications Conference & Awards...
Richard Nespola - Presentation at Emerging Communications Conference & Awards...Richard Nespola - Presentation at Emerging Communications Conference & Awards...
Richard Nespola - Presentation at Emerging Communications Conference & Awards...
 
Emakina Academy 5 - Boost your intranet - Key factors of success when buildin...
Emakina Academy 5 - Boost your intranet - Key factors of success when buildin...Emakina Academy 5 - Boost your intranet - Key factors of success when buildin...
Emakina Academy 5 - Boost your intranet - Key factors of success when buildin...
 

Similar to Making Applications Social with the Chatter API Webinar

Artificial intelligence capabilities overview yashowardhan sowale cwin18-india
Artificial intelligence capabilities overview yashowardhan sowale cwin18-indiaArtificial intelligence capabilities overview yashowardhan sowale cwin18-india
Artificial intelligence capabilities overview yashowardhan sowale cwin18-india
Capgemini
 
20150702 - Strategy and Business Value for connected appliances public version
20150702 - Strategy and Business Value for connected appliances public version20150702 - Strategy and Business Value for connected appliances public version
20150702 - Strategy and Business Value for connected appliances public version
Thorsten Schroeer
 
mediacockpit by DAM Group
mediacockpit by DAM Groupmediacockpit by DAM Group
mediacockpit by DAM Group
Chris Turchin
 
Dreamforce Debrief - The Salesforce.com platform - keynote by Dave Norris
Dreamforce Debrief - The Salesforce.com platform - keynote by Dave NorrisDreamforce Debrief - The Salesforce.com platform - keynote by Dave Norris
Dreamforce Debrief - The Salesforce.com platform - keynote by Dave Norris
Capgemini
 
Sfdc df2001-platformkeynotedavenorris
Sfdc df2001-platformkeynotedavenorrisSfdc df2001-platformkeynotedavenorris
Sfdc df2001-platformkeynotedavenorris
suyashawasthi
 
MtB workshop 2011: Business Development for Startups
MtB workshop 2011: Business Development for StartupsMtB workshop 2011: Business Development for Startups
MtB workshop 2011: Business Development for Startups
Matteo Fabiano
 

Similar to Making Applications Social with the Chatter API Webinar (20)

Transforming Software Architecture for the 21st Century (September 2009)
Transforming Software Architecture for the 21st Century (September 2009)Transforming Software Architecture for the 21st Century (September 2009)
Transforming Software Architecture for the 21st Century (September 2009)
 
Artificial intelligence capabilities overview yashowardhan sowale cwin18-india
Artificial intelligence capabilities overview yashowardhan sowale cwin18-indiaArtificial intelligence capabilities overview yashowardhan sowale cwin18-india
Artificial intelligence capabilities overview yashowardhan sowale cwin18-india
 
20150702 - Strategy and Business Value for connected appliances public version
20150702 - Strategy and Business Value for connected appliances public version20150702 - Strategy and Business Value for connected appliances public version
20150702 - Strategy and Business Value for connected appliances public version
 
Semiconductor E-commerce Platform Solutions
Semiconductor E-commerce Platform SolutionsSemiconductor E-commerce Platform Solutions
Semiconductor E-commerce Platform Solutions
 
Infosys – Semiconductor E-commerce Platform Solutions | Case Study
Infosys – Semiconductor E-commerce Platform Solutions | Case StudyInfosys – Semiconductor E-commerce Platform Solutions | Case Study
Infosys – Semiconductor E-commerce Platform Solutions | Case Study
 
Webinar: Manufacturing on the Ground and in the Cloud
Webinar: Manufacturing on the Ground and in the CloudWebinar: Manufacturing on the Ground and in the Cloud
Webinar: Manufacturing on the Ground and in the Cloud
 
Sales Cloud: 6 by 60 - The Top Six AppExchange Apps for Sales - Dreamforce 20...
Sales Cloud: 6 by 60 - The Top Six AppExchange Apps for Sales - Dreamforce 20...Sales Cloud: 6 by 60 - The Top Six AppExchange Apps for Sales - Dreamforce 20...
Sales Cloud: 6 by 60 - The Top Six AppExchange Apps for Sales - Dreamforce 20...
 
Meap and business platforms
Meap and business platformsMeap and business platforms
Meap and business platforms
 
SharePoint and Business Intelligence: Understanding the Microsoft BI Portal C...
SharePoint and Business Intelligence: Understanding the Microsoft BI Portal C...SharePoint and Business Intelligence: Understanding the Microsoft BI Portal C...
SharePoint and Business Intelligence: Understanding the Microsoft BI Portal C...
 
SharePoint Intranet Trends & Best Practices: 2010 and beyond
SharePoint Intranet Trends & Best Practices: 2010 and beyond SharePoint Intranet Trends & Best Practices: 2010 and beyond
SharePoint Intranet Trends & Best Practices: 2010 and beyond
 
mediacockpit by DAM Group
mediacockpit by DAM Groupmediacockpit by DAM Group
mediacockpit by DAM Group
 
Confluent Partner Tech Talk with BearingPoint
Confluent Partner Tech Talk with BearingPointConfluent Partner Tech Talk with BearingPoint
Confluent Partner Tech Talk with BearingPoint
 
Techboro datasheet
Techboro datasheetTechboro datasheet
Techboro datasheet
 
Dreamforce Debrief - The Salesforce.com platform - keynote by Dave Norris
Dreamforce Debrief - The Salesforce.com platform - keynote by Dave NorrisDreamforce Debrief - The Salesforce.com platform - keynote by Dave Norris
Dreamforce Debrief - The Salesforce.com platform - keynote by Dave Norris
 
Sfdc df2001-platformkeynotedavenorris
Sfdc df2001-platformkeynotedavenorrisSfdc df2001-platformkeynotedavenorris
Sfdc df2001-platformkeynotedavenorris
 
ARC's Greg Gorbach Collaborative Enterprise Presentation @ ARC Industry Forum...
ARC's Greg Gorbach Collaborative Enterprise Presentation @ ARC Industry Forum...ARC's Greg Gorbach Collaborative Enterprise Presentation @ ARC Industry Forum...
ARC's Greg Gorbach Collaborative Enterprise Presentation @ ARC Industry Forum...
 
Cloud Computing V1
Cloud Computing V1Cloud Computing V1
Cloud Computing V1
 
BizProjects
BizProjectsBizProjects
BizProjects
 
BusinessProjects.com Market Segmentation and Entry Project
BusinessProjects.com Market Segmentation and Entry ProjectBusinessProjects.com Market Segmentation and Entry Project
BusinessProjects.com Market Segmentation and Entry Project
 
MtB workshop 2011: Business Development for Startups
MtB workshop 2011: Business Development for StartupsMtB workshop 2011: Business Development for Startups
MtB workshop 2011: Business Development for Startups
 

More from Salesforce Developers

More from Salesforce Developers (20)

Sample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce DevelopersSample Gallery: Reference Code and Best Practices for Salesforce Developers
Sample Gallery: Reference Code and Best Practices for Salesforce Developers
 
Maximizing Salesforce Lightning Experience and Lightning Component Performance
Maximizing Salesforce Lightning Experience and Lightning Component PerformanceMaximizing Salesforce Lightning Experience and Lightning Component Performance
Maximizing Salesforce Lightning Experience and Lightning Component Performance
 
Local development with Open Source Base Components
Local development with Open Source Base ComponentsLocal development with Open Source Base Components
Local development with Open Source Base Components
 
TrailheaDX India : Developer Highlights
TrailheaDX India : Developer HighlightsTrailheaDX India : Developer Highlights
TrailheaDX India : Developer Highlights
 
Why developers shouldn’t miss TrailheaDX India
Why developers shouldn’t miss TrailheaDX IndiaWhy developers shouldn’t miss TrailheaDX India
Why developers shouldn’t miss TrailheaDX India
 
CodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local DevelopmentCodeLive: Build Lightning Web Components faster with Local Development
CodeLive: Build Lightning Web Components faster with Local Development
 
CodeLive: Converting Aura Components to Lightning Web Components
CodeLive: Converting Aura Components to Lightning Web ComponentsCodeLive: Converting Aura Components to Lightning Web Components
CodeLive: Converting Aura Components to Lightning Web Components
 
Enterprise-grade UI with open source Lightning Web Components
Enterprise-grade UI with open source Lightning Web ComponentsEnterprise-grade UI with open source Lightning Web Components
Enterprise-grade UI with open source Lightning Web Components
 
TrailheaDX and Summer '19: Developer Highlights
TrailheaDX and Summer '19: Developer HighlightsTrailheaDX and Summer '19: Developer Highlights
TrailheaDX and Summer '19: Developer Highlights
 
Live coding with LWC
Live coding with LWCLive coding with LWC
Live coding with LWC
 
Lightning web components - Episode 4 : Security and Testing
Lightning web components  - Episode 4 : Security and TestingLightning web components  - Episode 4 : Security and Testing
Lightning web components - Episode 4 : Security and Testing
 
LWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura InteroperabilityLWC Episode 3- Component Communication and Aura Interoperability
LWC Episode 3- Component Communication and Aura Interoperability
 
Lightning web components episode 2- work with salesforce data
Lightning web components   episode 2- work with salesforce dataLightning web components   episode 2- work with salesforce data
Lightning web components episode 2- work with salesforce data
 
Lightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An IntroductionLightning web components - Episode 1 - An Introduction
Lightning web components - Episode 1 - An Introduction
 
Migrating CPQ to Advanced Calculator and JSQCP
Migrating CPQ to Advanced Calculator and JSQCPMigrating CPQ to Advanced Calculator and JSQCP
Migrating CPQ to Advanced Calculator and JSQCP
 
Scale with Large Data Volumes and Big Objects in Salesforce
Scale with Large Data Volumes and Big Objects in SalesforceScale with Large Data Volumes and Big Objects in Salesforce
Scale with Large Data Volumes and Big Objects in Salesforce
 
Replicate Salesforce Data in Real Time with Change Data Capture
Replicate Salesforce Data in Real Time with Change Data CaptureReplicate Salesforce Data in Real Time with Change Data Capture
Replicate Salesforce Data in Real Time with Change Data Capture
 
Modern Development with Salesforce DX
Modern Development with Salesforce DXModern Development with Salesforce DX
Modern Development with Salesforce DX
 
Get Into Lightning Flow Development
Get Into Lightning Flow DevelopmentGet Into Lightning Flow Development
Get Into Lightning Flow Development
 
Integrate CMS Content Into Lightning Communities with CMS Connect
Integrate CMS Content Into Lightning Communities with CMS ConnectIntegrate CMS Content Into Lightning Communities with CMS Connect
Integrate CMS Content Into Lightning Communities with CMS Connect
 

Recently uploaded

Recently uploaded (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
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
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

Making Applications Social with the Chatter API Webinar

  • 1. Making your Application Social with the Chatter API Logan Henriquez Product Manager @loganh Quinton Wall Developer Evangelist @quintonwall Follow us @forcedotcom
  • 2. Safe Harbor 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, 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, 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, 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 on April 30, 2008 and in other filings with the Securities and Exchange Commission. 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.
  • 3. @forcedotcom / #forcewebinar Developer Force Group facebook.com/forcedotcom Follow us @forcedotcom
  • 4. Agenda  Why Social Enable Your App?  Use Cases  Eloqua: Demo and Sample Code  Tips  Summer ‘12 Preview  Q&A Follow us @forcedotcom
  • 5. Make any app social with the Chatter API REST API Follow us @forcedotcom
  • 6. IT: Why Social Enable Your Custom Apps? Partners, customers, suppliers Collab between dept. & teams Make existing apps social Follow us @forcedotcom
  • 7. IT: Why Social Enable Your Packaged Apps? Easily add social functionality Connect to enterprise- (feeds, likes, comments etc) wide news feed (eg: Chatter) Distribute app virally via feed Follow us @forcedotcom
  • 9. Chatter API Use Cases Follow us @forcedotcom
  • 10. Next Generation Intranets for the Social Enterprise Burberry World  Company-wide and team based collaboration  Dynamic, real-time information  Integration of multiple data sources  Sharepoint webpart reference implementation Follow us @forcedotcom
  • 11. Use Case – Custom Mobile, Desktop, Tablet Apps  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. 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. 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. 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. Drive Collaboration Around Business Process and Data Follow us @forcedotcom
  • 16. Eloqua Use Case 105,000 42 2.5 Billion 8.2 Billion Follow us @forcedotcom
  • 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. What scenario are we solving Sales Marketer Follow us @forcedotcom
  • 20. REST API Resources Follow us @forcedotcom
  • 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. How We’re Using the Chatter API Today Future Feed Users Groups Messages Records Topics Recommendations Files Organization Follow us @forcedotcom
  • 23. /chatter/users/me TBD – styling changes Follow us @forcedotcom
  • 28. Chatter API Tips Follow us @forcedotcom
  • 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. 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. 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. 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. 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. 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. 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. How do I begin? https://developer.force.com/chatter-api Follow us @forcedotcom
  • 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. Q&A http://bit.ly/chattersur vey @loganh @quintonwall Follow us @forcedotcom