You need to sign in to do that
Don't have an account?
mukesh gupta
Salesforce API integrate with javascript
Hi Expert,
I have created a connected app and now I want to access the salesforce account object in another javascript project, how to access this object in javascript i am using below below code
var clientId = "4MVG98dostKihXN5oBoP6A8TICyfESSuGPgzHBiJq8XH4PuqTtB.pxOTyitM4r46cHGX2d1tXRl4Jp0Ab58";
var consumerSecret = "2388376451203"; //Authorization endpoint
var authEndPoint = "https://login.salesforce.com/services/oauth2/authorize"; //response_type must be set to token
var responseType = "token"; //This is the callback URL from the connected app var redirectURI = "https://login.salesforce.com/services/oauth2"; //Construct the URL with the required parameters
var requestURL = authEndPoint+'?client_id='+clientId+'&response_type='+responseType+'&redirect_uri='+redirectURI;
Can you please suggest
Thanks
I have created a connected app and now I want to access the salesforce account object in another javascript project, how to access this object in javascript i am using below below code
var clientId = "4MVG98dostKihXN5oBoP6A8TICyfESSuGPgzHBiJq8XH4PuqTtB.pxOTyitM4r46cHGX2d1tXRl4Jp0Ab58";
var consumerSecret = "2388376451203"; //Authorization endpoint
var authEndPoint = "https://login.salesforce.com/services/oauth2/authorize"; //response_type must be set to token
var responseType = "token"; //This is the callback URL from the connected app var redirectURI = "https://login.salesforce.com/services/oauth2"; //Construct the URL with the required parameters
var requestURL = authEndPoint+'?client_id='+clientId+'&response_type='+responseType+'&redirect_uri='+redirectURI;
Can you please suggest
Thanks
https://developer.salesforce.com/page/JavaScript
https://jsforce.github.io/start/
http://www.oyecode.com/2014/02/how-to-salesforce-rest-api-from-browser.html