Questions tagged [chatter-rest-api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
81 views

SendDirectMessageActionException when using ConnectApi.ChatterFeeds.postFeedElementBatch to send direct messages

I am trying to use ConnectApi.ChatterFeeds.postFeedElementBatch to send direct messages in mass to portal users, but I am getting the following error: An Apex error occurred: SendDirectMessageAction....
0
votes
0answers
34 views

POST as another user using Salesfore API. (Sender Id unavailable in request body)

I am trying to use chatter REST API to GET and POST data into custom C# application from a Salesforce. I am able to get data successfully. But, when I try to POST data into Salesforce as a particular ...
1
vote
1answer
235 views

Why does it take more than 30 seconds for chat activity Messages to return a 200 (“OK”) with an empty content?

when I make a Messages request to Live Agent Server by REST API, it returns relatively quick if there are events that occur on the Live Agent server, but it takes more than 30 seconds to return a 200 (...
3
votes
2answers
5k views

Correct approach uploading File using REST API (file size 100 MB)

Looking for best REST API to upload a file to a record with at least file size 100MB? I have created custom REST API handles POST call, inserts both ContentVersion, ContentDocumentLink records (Base ...
3
votes
1answer
74 views

How to retrieve a user's default profile photo, based on theme set for org, using Chatter API?

I'm trying to get a user's default profile photo using the chatter api. My company's admin, created a custom image that will show up if the user hasn't uploaded their own image. I've been reading ...
0
votes
1answer
130 views

Chatter REST API - Read-By Capability different for different users

The readBy capability that was introduced in v40.0 is very handy when building custom applications that leverage chatter. However, non-admin users are not getting the complete capability in the ...
0
votes
1answer
754 views

testing rest api using postman

{ "message": "The HTTP entity body is required, but this request has no entity body.", "errorCode": "JSON_PARSER_ERROR" } hi,,help me,how to resolve this error.i got this error while ...
2
votes
1answer
18k views

Rest API working well from Postman doesn't work from Salesforce

I am beginner to REST APIs. I had a REST api used to login into some third party application. When used from Postman extension of Chrome it works well. However throws some generic error when used from ...
10
votes
1answer
876 views

Is There a Way to Get Chatter Notifications?

If you @mention or send a message to a Chatter user, you get a notification in Salesforce1. This appears immediately so it's a safe bet that push notifications are being used to dispatch them. However ...
1
vote
1answer
95 views

Chatter Rest API - Detect if Current User is Admin

If you want to join a private Chatter group via the Chatter REST API you're supposed to send a POST request to: /services/data/<<Version>>/chatter/groups/<<GroupId>>/members/...
1
vote
0answers
112 views

Rest API - Duplicate products and partners are added to opportunities

I'm trying to add 2 products and 2 partners to an existing opportunity through REST API. Even though both products and partners are different, they have the same name and product code in SFDC. ...
6
votes
1answer
989 views

Post to Chatter With Binary File from Javascript

So I'm trying to post a feed item to Chatter via the Chatter REST API from Javascript. There relevant documentation shows that the request must be made as a mutlipart/form-data request, so I'm ...
2
votes
0answers
140 views

How can I detect which fields are being tracked by Chatter via REST

I need to detect via REST API, which fields have been enabled for Chatter object feed tracking. Just to be clear it is the setup option found here: Setup > Customize > Chatter > Feed Tracking ...