• Kamyar Seradjfar
  • NEWBIE
  • 25 Points
  • Member since 2013
  • Senior Director, Product Management
  • salesforce.com

  • Chatter
    Feed
  • 1
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

Hi there, I'm using the chatter rest API to get the mentions for feed items and comments by calling:

/services/data/v26.0/chatter/feed-items/{feed-item-id}

and

/services/data/v26.0/chatter/comments/{comment-id}

 

However when a feed item is within a communiity I'm getting 404s 

 

Is there another URL I should be using to access feed items and comments from within a specific commuinity?

 

Thanks

 

-*TOM*-

  • July 24, 2013
  • Like
  • 0
Hi I am trying to use Chatter Actions links (PILOT). I need more clarity on following points.

1. Feed Element Capabilities ( Banner capability, Bundle Capability)
2. Error handling in case of Asynchronous API calls and Update Status of Action Link

 I am able to post the chatter actions in feeds, but how to add Feed elment capabilities in request JSON.

{
    "body": {
        "messageSegments": [
            {
                "type": "Text",
                "text": "Either Accept Or Reject. This is chatter post with Actions"
            }
        ]
    },
    "subjectId": "me",
    "feedElementType": "feedItem",
    "capabilities": {
        "associatedActions": {
            "actionLinkGroupIds": [
                "0Ago00000000006CAA"
            ]
        }
    }
}
How to add capabilities in request JSON?

Also I am able to post the Action links, how to handle the exception/response in action links(These links would be present in Chatter feed). Also i am not sure how to update the status of Action link?

Requesting you to please clarify/ answer above points.


Thanks in advance

Hi there, I'm using the chatter rest API to get the mentions for feed items and comments by calling:

/services/data/v26.0/chatter/feed-items/{feed-item-id}

and

/services/data/v26.0/chatter/comments/{comment-id}

 

However when a feed item is within a communiity I'm getting 404s 

 

Is there another URL I should be using to access feed items and comments from within a specific commuinity?

 

Thanks

 

-*TOM*-

  • July 24, 2013
  • Like
  • 0