Questions tagged [chatter-api]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

Inserting a ContentVersion using Angularjs $http + Chatter Rest API

I have been trying to insert files using Salesforce Chatter REST API, but its been documented only for curl. I am unable to find how to do the same in Angularjs using $http with visualforce. I am ...
0
votes
0answers
30 views

Limit access to Chatter groups for an API user

Is it possible for a SFDC admin to limit which Chatter groups a user can post to via the Chatter API? Is that controlled via the group membership model as explained in the Chatter Groups help page? If ...
4
votes
0answers
3k 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 ...
4
votes
1answer
236 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 ...
1
vote
1answer
2k 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": [ { ...
1
vote
0answers
436 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 ...
0
votes
1answer
636 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 ...
1
vote
0answers
44 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 ...
0
votes
0answers
139 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 ...
2
votes
2answers
71 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.
10
votes
1answer
89 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 ...
2
votes
1answer
672 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 ...
1
vote
1answer
4k 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 ...
0
votes
0answers
113 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 ...
1
vote
1answer
162 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 ...