Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [chatter-api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
313 views

Sending post request from one org to another

I have two SFDC orgs - org1 and org2. I want to send a POST request from org1 to org2. I've already created a connected app on org2 and have named credentials + auth provider set up on org1. More ...
user2582622's user avatar
2 votes
1 answer
2k views

How to download a attachment in browser using JSForce?

I am trying to download a Attachment using JSForce library. I am able to get body of attachment and download that file but somehow content of downloaded file is not correct and I am getting a corrupt ...
Manjot Singh's user avatar
  • 3,516
1 vote
1 answer
2k views

ConnectApi.ConnectApiException: Mentioned group does not exist

I have a chatter feed publisher component at 2 places(topics page and article page) in a community and whenever user posts something, I'm writing a trigger code on FeedItem object to auto at mention a ...
asha's user avatar
  • 21
0 votes
1 answer
518 views

Chatter API vs ConnectAPI

I'm trying to understand the difference between Chatter REST Api and ConnectAPI in terms of capabilities. If my task is to post to a Chatter feed from an external application, I believe there would ...
Prudhvi Konda's user avatar
12 votes
1 answer
16k views

Best approach for uploading to Salesforce files via a Salesforce API

I need to load files into Salesforce via an API as part of some integration work. I want to be loading files as Salesforce Files (not attachments) so we can version files if need be and I also need to ...
donmac23's user avatar
  • 415
4 votes
1 answer
811 views

Auto Completion of Usernames or groups using mentions method

I have a lightning page which displays the chatter feed of a particular group. Each feed has a text input box with a "Share" button. While entering text and using the "@" mention tag, I am hoping to ...
Brav's user avatar
  • 820
1 vote
1 answer
5k views

Getting the JSON values in a component

I have a chatter API response in below JSON format "currentPageToken": null, "currentPageUrl": "/services/data/v39.0/chatter/feeds/record/0F98E0000004UhASAU/feed-elements", "elements": [ { ...
Brav's user avatar
  • 820
2 votes
0 answers
883 views

Chatter in Apex using Lightning components

I'm fairly new to Lightning Design System.So need some guidance here. I'm trying to build Chatter in Apex using Lightning components. Using rest Api, I am getting the Chatter Feed of a group in my org ...
Brav's user avatar
  • 820
1 vote
1 answer
2k views

How can I use ConnectApi.LinkCapabilityInput to create Chatter posts from Apex?

I need to use Apex to create a chatter post on an Account object, which will include some text which is a clickable hyperlink. After hours of confusing searches, I thought I had found the solution ...
Bill Linke's user avatar
1 vote
0 answers
55 views

Chatter to Apex: Getting Attachment

I am using rest api (ConnectApi namespace output classes) to get the chatter feed details of a particular group in my org and using Javascript remoting to display the elements in a custom vf page. So ...
Brav's user avatar
  • 820
0 votes
0 answers
683 views

Access ConnectApi's setPhoto method on UserProfiles when the current user is a guest user

Currently we are using a custom self registration page on community to allow users to register for the community. As a part of this registration process, we want to assign a default profile picture to ...
Karthikeya Pammi's user avatar
2 votes
2 answers
146 views

How can i get topicassignments associated with collaborationgroupfeed?

Iam trying to get TopicAssignment records that are associated to CollaborationGroupFeed. I tried following but didn't work. Let me know if you have any other suggestions.
Sai's user avatar
  • 21
11 votes
2 answers
191 views

CORS issues with Chatter API Photo Posting

I have a Chatter Communities API request that creates a new user profile picture. This API callout works when I use an app like Ruby or even a cURL command. However, using an AJAX callout, I get a ...
David Staley's user avatar
2 votes
1 answer
849 views

How to get the content of a chatter file using API

I am integrating my SF org with an external mobile app. I have a file uploaded to the chatter feed of each contact (the picture of the contact). This app needs to get the picture to display in the ...
Dedo's user avatar
  • 5,007
1 vote
1 answer
7k views

Script-thrown exception: (System Code) when using ConnectApi.ChatterFeeds.postFeedElementBatch

In a lead trigger before update, im trying to post a comment in a chatter group related based upon a field value on my lead. But i'm getting the following error : LeadAfterUpdate: execution of ...
vanessen's user avatar
  • 2,685
0 votes
0 answers
139 views

Getting collection of chatter answers and their replies - getting null question objects

I'm trying to get a collection of chatter questions and their related replies, but for some reason, I'm getting the correct replies, but null values for the question object. Here's my code: public ...
slim's user avatar
  • 107
1 vote
1 answer
190 views

Can successfully send GET request to Chatter API but not POST, receiving INVALID_SESSION_ID

I never had this issue using the REST data API - I'm using the Chatter API and trying to post to a group. I am setting the correct instance url in the request, and passing the returned access token as ...
Brian Mansfield's user avatar