SlideShare a Scribd company logo
1 of 2
Download to read offline
Chatter REST API
                      Collaboration
                                                                                                                      Cheat Sheet
Overview                                                                                        Add Comments
The Chatter REST API provides access to Chatter feeds and social data such as users,            To add a comment to a feed item, use the comments resource with POST and the request
groups, and followers, via a standard JSON/XML-based API.                                       parameter text. As part of the comments resource, you must also specify the feed item
                                                                                                that you are adding the comment to.

Constructing the URL                                                                            The following example adds a comment to an existing feed-item, which has an ID of
                                                                                                0D5D0000000DaSbKAK:
All Chatter API resources are accessed using a base URI for your company, version
information, and the named resource. For example, if the base URI is this:                      /feed-items/0D5D0000000DaSbKAK/comments?text=New+post
https://na1-salesforce.com
And the version information is this:
/services/data/v22.0/chatter                                                                    Follow Records
And you’re using the following resource:
/feeds/news/me/feed-items                                                                       Use the users resource to follow a specific record. A record can be any object in
Put together, the full URL to the resource is:                                                  Salesforce, such as a custom record, a file, a user, and so on.
https://na1-salesforce.com/services/data/v22.0/chatter/feeds/news/
me/feed-items                                                                                   To follow a record, use POST with the subjectId request parameter. This example follows
                                                                                                a user:

                                                                                                /users/me/following?subjectId=005D0000001GpHp
Authentication
Chatter API uses OAuth 2.0 for authentication. The return from a successful authentication
includes an access token, which can be used for subsequent calls to the Chatter API             Unfollow Records
resources.
                                                                                                Use the subscriptions resource to unfollow a record. You must use the subscription ID
                                                                                                with the subscriptions resource. To get subscription IDs, use the following resource:
Resources                                                                                       /users/me | userID/following
The following resources are available:
                                                                                                To unfollow a record, use DELETE. For example:
Resource                      Description
                                                                                                /subscriptions/0E8D00000001JkFKAU
/comments                     The specified comment.
                                                                                                Feeds Resources
/feed-items                   The specified feed item.
                                                                                                Chatter API resources represent many feed types, such as news feeds, user-profile feeds,
                                                                                                group feeds, and so on.
/feeds/news                   The Chatter news feed of either the current user or a
                              specified user.                                                   Most feeds can be accessed with either the keyword me or a specified user ID, such as
                                                                                                005D0000001GLowIAN. In addition, all feeds have a top-level resource that returns a URL
/feeds/record                 The feed for a record, such as a user, custom object, or          of the feed items for that feed. For example:
                              group.
                                                                                                /feeds/files/me
/feeds/to                     The feed of @ mentions of either the current user or a            /feeds/groups/me
                              specified user, as well as posts to that user’s feed.             /feeds/user-profile/005D0000001GLowIAN

                                                                                                All feeds have a feed-items resource that returns the feed items for that feed. For
/feeds/user-profile           The user-profile feed of either the current user or a specified   example, to return the feed items for the current user’s news feed, use GET and the
                              user.                                                             following resource:

/group-memberships            The specified group membership.                                   /feeds/news/me/feed-items

/groups                       The specified group. This is not a feed. To get the feed for a
                              group, use the record resource.                                   Groups
                                                                                                Chatter API has the following resources for working with groups:
/likes                        The specified like.
                                                                                                /groups — returns information about the specified group, such as members in the group,
                                                                                                the group photo, and so on
/subscriptions                The specified subscription, which is what the user is
                              following.                                                        /group-memberships — returns information about the specified member of a group

/users                        Either the current user or a specified user’s Chatter profile     To get a list of all the groups the current signed-in user is a member of, use GET with the
                              details, such as the description they have in their “About Me”    following resource:
                              section. This is not a feed. To access the user-profile feed,
                              use the /feeds/user-profile resource.                             /groups

                                                                                                To add a member to a specific group, use the groups resource and POST with the group
Like a Feed Item                                                                                ID, the memberID request parameter, and the specified user ID. For example:
To like a feed item, use the likes resource with POST. As part of the likes resource, you       /groups/0F9D000000006bOKAQ/members?memberId=005D0000001GLowIAB
must also specify the feed item that you are adding the like to.
                                                                                                To post to a specific group, use the /feeds/record resource and POST with the group
The following example adds a like to an existing feed item, which has an ID of                  ID, and the text request parameter. For example:
0D5D0000000DaZBKA0.
                                                                                                /feeds/record/0F9D000000006bO/feed-items
/feed-items/0D5D0000000DaZBKA0/likes                                                            ?text=Has+everyone+seen+the+latest+building+proposal?




                                                                                                                                                   http://developer.force.com
Message Segments                                                                              Pagination
Message segments are returned as part of the body of a feed item. Each message segment        Feeds, lists of groups or records a user is following, and other resources may return more
contains the formatted text of the feed item, as well as information about the type of feed   items than can be contained in a single page. The return for all of these collections contains
item.                                                                                         both a currentPageUrl and a nextPageUrl property. The currentPageUrl contains
                                                                                              a URL that points to the current page of items, while the nextPageUrl contains the URL
                                                                                              for the next page of items.
Any feed item can be composed by rendering the list of message segments in the given
order. Rendering a message segment is as easy as displaying the text property. For            The following is an example return from a news feed:
example:
                                                                                              {
<xml parsing psuedo code>                                                                        "currentPageUrl": "/services/data/v22.0/chatter/feeds/
StringBuilder feedItemText = new StringBuilder();                                             news/005x0000001j2OwAAI/feed-items",
NodeList nodes = feedItemElement.getElementsByTagName("body").                                   . . .
                                                                                                 "nextPageUrl": "/services/data/v22.0/chatter/feeds/
                 item(0).firstChild().getChildNodes();
                                                                                              news/005x0000001j2OwAAI/feed-items?page=2011-07-01T14%3A11%3A54Z%2
for(int i=0; i<nodes.getLength(); i++) {                                                      C0D5x0000001NUGICA4"
   Node nextNode = nodes.item(0);                                                             }
   if(!nextNode instanceof Element) {
      continue;                                                                               The second page of items contains a new value for nextPageUrl. To page through the
   }                                                                                          feed items, use the URL from each subsequent page. There are no more pages when
                                                                                              nextPageUrl is null.
    Element segmentElement = (Element)nextNode;
    String text = segmentElement.
           getElementsByTagName("text").item(0).getTextContent();                             Update User Status
    feedItemText.append(text);                                                                You can update a user’s status using the news, to, or record feed resources, with POST
}                                                                                             and the request parameter text. (When using the record or to resources, the specified
                                                                                              ID must be a user ID and the same as the current, signed-in user.)
someWriter.write(feedItemText);
                                                                                              The following example updates a user’s status using the news resource:
</xml parsing psuedo code>
                                                                                              /feeds/news/me/feed-items?text=New+post

                                                                                              The following example updates a user’s status using the record resource:

                                                                                              /feeds/record/005D0000001GLowIAN/feed-items?text=New+post




                                                                        For other cheatsheets:
                                                               http://developer.force.com/cheatsheets                                                                             082011

More Related Content

Viewers also liked

Patterns of Enterprise Application Architecture (by example)
Patterns of Enterprise Application Architecture (by example)Patterns of Enterprise Application Architecture (by example)
Patterns of Enterprise Application Architecture (by example)
Paulo Gandra de Sousa
 

Viewers also liked (9)

B2B Customer Experience Management Best Practice Study PREVIEW SAMPLE
B2B Customer Experience Management Best Practice Study PREVIEW SAMPLEB2B Customer Experience Management Best Practice Study PREVIEW SAMPLE
B2B Customer Experience Management Best Practice Study PREVIEW SAMPLE
 
CRM Framework
CRM FrameworkCRM Framework
CRM Framework
 
What is Customer Experience?
What is Customer Experience?What is Customer Experience?
What is Customer Experience?
 
Go-To-Market Framework
Go-To-Market FrameworkGo-To-Market Framework
Go-To-Market Framework
 
Sales Enablement Framework
Sales Enablement FrameworkSales Enablement Framework
Sales Enablement Framework
 
Patterns of Enterprise Application Architecture (by example)
Patterns of Enterprise Application Architecture (by example)Patterns of Enterprise Application Architecture (by example)
Patterns of Enterprise Application Architecture (by example)
 
Sales, Sales Management, Sales Strategy
Sales, Sales Management, Sales StrategySales, Sales Management, Sales Strategy
Sales, Sales Management, Sales Strategy
 
What is Key Account Management
What is Key Account ManagementWhat is Key Account Management
What is Key Account Management
 
Strategic Account Management Presentation
Strategic Account Management PresentationStrategic Account Management Presentation
Strategic Account Management Presentation
 

Similar to Salesforce chatter api_developer_cheatsheet

Creating Applications With Drupal
Creating Applications With DrupalCreating Applications With Drupal
Creating Applications With Drupal
guest602bb9
 
Swap For Dummies Rsp 2007 11 29
Swap For Dummies Rsp 2007 11 29Swap For Dummies Rsp 2007 11 29
Swap For Dummies Rsp 2007 11 29
Julie Allinson
 
Twapper Keeper API / UI Enhancements / Work Products
Twapper Keeper API / UI Enhancements / Work ProductsTwapper Keeper API / UI Enhancements / Work Products
Twapper Keeper API / UI Enhancements / Work Products
John O'Brien III
 
RSS and Atom in the Social Web
RSS and Atom in the Social WebRSS and Atom in the Social Web
RSS and Atom in the Social Web
hchen1
 
Zyncro rest api feb 2013
Zyncro rest api feb 2013 Zyncro rest api feb 2013
Zyncro rest api feb 2013
Zyncro
 

Similar to Salesforce chatter api_developer_cheatsheet (20)

Web 2.0
Web 2.0Web 2.0
Web 2.0
 
Subj3ct
Subj3ctSubj3ct
Subj3ct
 
B2SHARE REST API Hands-on - EUDAT Summer School (Hans van Piggelen, SURFsara)
B2SHARE REST API Hands-on - EUDAT Summer School (Hans van Piggelen, SURFsara)B2SHARE REST API Hands-on - EUDAT Summer School (Hans van Piggelen, SURFsara)
B2SHARE REST API Hands-on - EUDAT Summer School (Hans van Piggelen, SURFsara)
 
Creating Applications With Drupal
Creating Applications With DrupalCreating Applications With Drupal
Creating Applications With Drupal
 
Creating Applications With Drupal
Creating  Applications With  DrupalCreating  Applications With  Drupal
Creating Applications With Drupal
 
Swap For Dummies Rsp 2007 11 29
Swap For Dummies Rsp 2007 11 29Swap For Dummies Rsp 2007 11 29
Swap For Dummies Rsp 2007 11 29
 
Sweeper User Guide v0.3
Sweeper User Guide v0.3Sweeper User Guide v0.3
Sweeper User Guide v0.3
 
Twapper Keeper API / UI Enhancements / Work Products
Twapper Keeper API / UI Enhancements / Work ProductsTwapper Keeper API / UI Enhancements / Work Products
Twapper Keeper API / UI Enhancements / Work Products
 
Semantic user profiling and Personalised filtering of the Twitter stream
Semantic user profiling and Personalised filtering of the Twitter streamSemantic user profiling and Personalised filtering of the Twitter stream
Semantic user profiling and Personalised filtering of the Twitter stream
 
OStatus-enabling your php application
OStatus-enabling your php applicationOStatus-enabling your php application
OStatus-enabling your php application
 
Shibboleth 2.0 IdP slides - Installfest (Edited)
Shibboleth 2.0 IdP slides - Installfest (Edited)Shibboleth 2.0 IdP slides - Installfest (Edited)
Shibboleth 2.0 IdP slides - Installfest (Edited)
 
Stringcast Open
Stringcast OpenStringcast Open
Stringcast Open
 
SFDC Social Applications
SFDC Social ApplicationsSFDC Social Applications
SFDC Social Applications
 
Citing data in research articles: principles, implementation, challenges - an...
Citing data in research articles: principles, implementation, challenges - an...Citing data in research articles: principles, implementation, challenges - an...
Citing data in research articles: principles, implementation, challenges - an...
 
People aggregator
People aggregatorPeople aggregator
People aggregator
 
RSS and Atom in the Social Web
RSS and Atom in the Social WebRSS and Atom in the Social Web
RSS and Atom in the Social Web
 
Modified REST Presentation
Modified REST PresentationModified REST Presentation
Modified REST Presentation
 
AWS Community Day - Joel Schuweiler - Become an IAM guru
AWS Community Day - Joel Schuweiler - Become an IAM guruAWS Community Day - Joel Schuweiler - Become an IAM guru
AWS Community Day - Joel Schuweiler - Become an IAM guru
 
Discover the new face of HL7 FHIR v4 - Ideas2IT
Discover the new face of  HL7 FHIR v4 - Ideas2ITDiscover the new face of  HL7 FHIR v4 - Ideas2IT
Discover the new face of HL7 FHIR v4 - Ideas2IT
 
Zyncro rest api feb 2013
Zyncro rest api feb 2013 Zyncro rest api feb 2013
Zyncro rest api feb 2013
 

Recently uploaded

Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
Chris Hunter
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Recently uploaded (20)

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Salesforce chatter api_developer_cheatsheet

  • 1. Chatter REST API Collaboration Cheat Sheet Overview Add Comments The Chatter REST API provides access to Chatter feeds and social data such as users, To add a comment to a feed item, use the comments resource with POST and the request groups, and followers, via a standard JSON/XML-based API. parameter text. As part of the comments resource, you must also specify the feed item that you are adding the comment to. Constructing the URL The following example adds a comment to an existing feed-item, which has an ID of 0D5D0000000DaSbKAK: All Chatter API resources are accessed using a base URI for your company, version information, and the named resource. For example, if the base URI is this: /feed-items/0D5D0000000DaSbKAK/comments?text=New+post https://na1-salesforce.com And the version information is this: /services/data/v22.0/chatter Follow Records And you’re using the following resource: /feeds/news/me/feed-items Use the users resource to follow a specific record. A record can be any object in Put together, the full URL to the resource is: Salesforce, such as a custom record, a file, a user, and so on. https://na1-salesforce.com/services/data/v22.0/chatter/feeds/news/ me/feed-items To follow a record, use POST with the subjectId request parameter. This example follows a user: /users/me/following?subjectId=005D0000001GpHp Authentication Chatter API uses OAuth 2.0 for authentication. The return from a successful authentication includes an access token, which can be used for subsequent calls to the Chatter API Unfollow Records resources. Use the subscriptions resource to unfollow a record. You must use the subscription ID with the subscriptions resource. To get subscription IDs, use the following resource: Resources /users/me | userID/following The following resources are available: To unfollow a record, use DELETE. For example: Resource Description /subscriptions/0E8D00000001JkFKAU /comments The specified comment. Feeds Resources /feed-items The specified feed item. Chatter API resources represent many feed types, such as news feeds, user-profile feeds, group feeds, and so on. /feeds/news The Chatter news feed of either the current user or a specified user. Most feeds can be accessed with either the keyword me or a specified user ID, such as 005D0000001GLowIAN. In addition, all feeds have a top-level resource that returns a URL /feeds/record The feed for a record, such as a user, custom object, or of the feed items for that feed. For example: group. /feeds/files/me /feeds/to The feed of @ mentions of either the current user or a /feeds/groups/me specified user, as well as posts to that user’s feed. /feeds/user-profile/005D0000001GLowIAN All feeds have a feed-items resource that returns the feed items for that feed. For /feeds/user-profile The user-profile feed of either the current user or a specified example, to return the feed items for the current user’s news feed, use GET and the user. following resource: /group-memberships The specified group membership. /feeds/news/me/feed-items /groups The specified group. This is not a feed. To get the feed for a group, use the record resource. Groups Chatter API has the following resources for working with groups: /likes The specified like. /groups — returns information about the specified group, such as members in the group, the group photo, and so on /subscriptions The specified subscription, which is what the user is following. /group-memberships — returns information about the specified member of a group /users Either the current user or a specified user’s Chatter profile To get a list of all the groups the current signed-in user is a member of, use GET with the details, such as the description they have in their “About Me” following resource: section. This is not a feed. To access the user-profile feed, use the /feeds/user-profile resource. /groups To add a member to a specific group, use the groups resource and POST with the group Like a Feed Item ID, the memberID request parameter, and the specified user ID. For example: To like a feed item, use the likes resource with POST. As part of the likes resource, you /groups/0F9D000000006bOKAQ/members?memberId=005D0000001GLowIAB must also specify the feed item that you are adding the like to. To post to a specific group, use the /feeds/record resource and POST with the group The following example adds a like to an existing feed item, which has an ID of ID, and the text request parameter. For example: 0D5D0000000DaZBKA0. /feeds/record/0F9D000000006bO/feed-items /feed-items/0D5D0000000DaZBKA0/likes ?text=Has+everyone+seen+the+latest+building+proposal? http://developer.force.com
  • 2. Message Segments Pagination Message segments are returned as part of the body of a feed item. Each message segment Feeds, lists of groups or records a user is following, and other resources may return more contains the formatted text of the feed item, as well as information about the type of feed items than can be contained in a single page. The return for all of these collections contains item. both a currentPageUrl and a nextPageUrl property. The currentPageUrl contains a URL that points to the current page of items, while the nextPageUrl contains the URL for the next page of items. Any feed item can be composed by rendering the list of message segments in the given order. Rendering a message segment is as easy as displaying the text property. For The following is an example return from a news feed: example: { <xml parsing psuedo code> "currentPageUrl": "/services/data/v22.0/chatter/feeds/ StringBuilder feedItemText = new StringBuilder(); news/005x0000001j2OwAAI/feed-items", NodeList nodes = feedItemElement.getElementsByTagName("body"). . . . "nextPageUrl": "/services/data/v22.0/chatter/feeds/ item(0).firstChild().getChildNodes(); news/005x0000001j2OwAAI/feed-items?page=2011-07-01T14%3A11%3A54Z%2 for(int i=0; i<nodes.getLength(); i++) { C0D5x0000001NUGICA4" Node nextNode = nodes.item(0); } if(!nextNode instanceof Element) { continue; The second page of items contains a new value for nextPageUrl. To page through the } feed items, use the URL from each subsequent page. There are no more pages when nextPageUrl is null. Element segmentElement = (Element)nextNode; String text = segmentElement. getElementsByTagName("text").item(0).getTextContent(); Update User Status feedItemText.append(text); You can update a user’s status using the news, to, or record feed resources, with POST } and the request parameter text. (When using the record or to resources, the specified ID must be a user ID and the same as the current, signed-in user.) someWriter.write(feedItemText); The following example updates a user’s status using the news resource: </xml parsing psuedo code> /feeds/news/me/feed-items?text=New+post The following example updates a user’s status using the record resource: /feeds/record/005D0000001GLowIAN/feed-items?text=New+post For other cheatsheets: http://developer.force.com/cheatsheets 082011