post to chatter from javascript
-
27-06-2021 - |
Question
I want to post to chatter from javascript.the app I m creating is a browser extension,so its not specific to a particular domain.on clicking on a button,javascript does the oAuth dance ,and posts to chatter.is it possible,as in will it not be affected by the same origin policy.
can you post some links,from where I can start and provide some guidance.
Thanks
Solution
Are you writing a Chrome extension? This post may help you - for chatter you need have to reduce the api_scope as per SFDC docs...
http://www.anupshinde.com/salesforce-rest-api-chrome-extension
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow