Chatter REST API Developer Overview Share

PM: Logan Henriquez

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, 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, risks associated with possible mergers and acquisitions, 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 products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of, inc. is included in our annual report on Form 10-K for the most recent fiscal year ended January 31, 2010. This document and others 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., inc. assumes no obligation and does not intend to update these forward-looking statements.

Chatter REST API Overview   Use Cases •  Building an application outside the Salesforce platform •  Pull feed and social graph out into another application •  Push notifications and activity into the feed

  Chatter UI related Resources –  Feeds, Users, Groups, Comments, Likes, Followers, Following

  RESTful   Designed for UI integration   Similar to Twitter, Facebook’s APIs   Applications –  Mobile, desktop, 3rd party web applications

Part of Salesforce Family of APIs   Sobject –  REST & SOAP flavors –  Designed for database integrations. –  Use this if you need access to custom and standard objects like Accounts, Opportunities not covered by the Chatter API

  Oauth2 for authentication   Identity for identifying authenticated users   Apex / SOQL for developing on the Salesforce platform

Use Cases Share

PM: Logan Henriquez

Use Cases

UI – out Mobile Desktop Tablet Web

Use Cases

Data – in •  •  •  • 

User Notifications File, Link Sharing Group Sharing Action Required

•  Viral app distribution in the feed

Resources Share

PM: Logan Henriquez

Resources /chatter/feeds/ [feed-name] / [id] /feed-items   Feeds (news, to, user-profile, record) –  Comments –  Likes –  Items

  Users –  Followers –  Following –  Groups –  Photo –  Status

  Groups –  Members –  Photo

Common Actions and URLs   Post to a user’s profile –  POST /chatter/feeds/user-profile/ [user_id] /feed-items –  Use multipart/form-data for file attachments

  Get the context user’s news feed –  GET /chatter/feeds/news/me/feed-items

  Get a group feed –  GET /chatter/feeds/record/ [group_id] / feed-items

  Post to a group feed –  POST /chatter/feeds/record/ [group_id] / feed-items

  Get a user’s groups –  GET /chatter/users/ [user_id | me ] /groups

Responses   JSON or XML   Easy to render –  Localized to context user’s language and time zone –  Message segments make rendering @mentions and other embedded links easy –  Aggregated responses for feeds that include comments, likes, users

Example Applications Share

PM: Logan Henriquez


Example App – Intranet / Web Portal Interaction with users outside chatter

Desktop / Browser / Javascript Post external content to Chatter

Sample Code

Getting Started Share

PM: Logan Henriquez

Getting Started   Chatter API Wiki When June 13 Developer Preview Begins – API available in all Developer Orgs. – A handful of pilot EE/UE orgs will also have the API

Developing in the Salesforce Environment for Developers New to Salesforce Share

PM: Logan Henriquez

Authentication   Authentication Types –  Username/password –  Oauth2

  Root URL for API access varies by user/org. –  Identity information with user’s instance returned with access token.

  Access tokens expire in hours to days –  Use refresh URL to get a new token

  Oauth clients must setup a “remote access application” in a Developer organization to register the application –  Dev orgs are available for free on

Authorization and Availability   Authorization –  API clients have the same data access as the authenticated user. In most cases this is identical to what they get in the UI. –  Users have access to exactly one organization –  All users profiles have access to the Chatter REST API. Other APIs may be unavailable based on user profile settings. –  Orgs that have Chatter have the Chatter REST API on by default, but some orgs may have turned it off.

  Availability –  Maintenance window timing varies by org – several hours per month is typical

Futures Share

PM: Logan Henriquez

Data API features in future releases   Text search on feed item and comment resources   Batched requests for user and group resources   XML & JSON post bodies –  (June release supports only form-encoding)

  User and Group endpoints –  To list all users and groups in the organization

  Company Feed endpoint – all posts in the organization   Support posting @mentions –  June release supports only reading @mentions

  Support additional feed filters   File download from feed-item attachments   Private Messaging Resources   Static assets on un-authenticated URLs.

Thank You. Share

PM: Logan Henriquez

Chatter REST API Developer Overview - GitHub

Building an application outside the Salesforce platform. • Pull feed and social graph out into another application. • Push notifications and activity into the feed.

1MB Sizes 0 Downloads 320 Views

Recommend Documents

BamTools API Tutorial - GitHub
Mar 23, 2011 - ... adjust how your app locates the shared library at runtime.

RESTful Service Best Practices - REST API Tutorial
May 29, 2012 - RESTful Service Best Practices. RESTful Service Best ... Recommendations for Creating Web Services ..... HTTP Status Codes (Top 10).

C# Anleitung - REST + Klienten - GitHub
"Data Source=(localdb)\\v11.0;Initial Catalog=MusicDb;Integrated Security=True" .... Name = "Gordon Goodwin Big Phat Band",. Songs = new List().

Overview Instruction - GitHub
IMAGE_FSTYPES += "ext2". PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-custom". Other optional settings for saving disk space and build time:.

Overview Instructions - GitHub
With U-Boot as the boot loader, the above need to be put into a format that U-Boot understands. The following describes using the FIT format (see doc/uImage.

BreedR Overview - GitHub
6 0 56. 72. 0. 55 1. 14 13. 4.775. 9 0 55. 73. 0. 22 1. 8. 13. 19.099 12 0 22. 74. 0 .... Predicted genetic values vs. ...... Plus some more specific metagene functions:.

Overview Instructions - GitHub
The build produces a kernel image, a root file system, and kernel header ... git1+973494766d7ca2401e3138f28b6257a5b899cf1d-r0/linux-lsisim-standard-build.

Commands for EV3-API - GitHub
char. Color of text. 1: black text. 0: wihteteext with black background. .... LED color cannot be changed while warning is set. ... (1: true, 0: false).

Sliceable Network Management API - GitHub
virtualizing all layer 2 functions the API distributes resource management such ... can be categorized as Infrastructure as a Service (IaaS) in the cloud computing.