You need to sign in to do that
Don't have an account?
REST API pure javascript solution
Hi,
This is my first project with SalesForce and what I need to be able to do is (if possible) have a totally javascript (client side) "widget" to display a users chatter feed.
I've seen a few examples of a JS only solution for OAuth, but there are no examples on SalesForce for this and any I have found use server side code to handle authentication. THe examples are the Yahoo and Google framework, but I'm not sure they will work...
I am working within a sandbox (Office 365, SharePoint online) on the server and cannot make web requests to other domain - as far as I am aware.
Any thoughts on this?
Achieving Rest API to work purely through Javascript is not that straight forward.
Cross-Site scripting always come accross. As far as I know "JSON-P" was the way Facebook resolve the cross-site scripting issue.
However for salesforce you might need to create a Proxy page which is written in servier side language to address cross site scripting issue.