Sunday, March 11, 2012

Getting Salesforce Data from External App

Salesforce encourages developers to authenticate using OAuth.

However, if you are creating a windows service to get data from SF, you'll need to choose the username/password flow.

The Steps include:
1) Add new application via Setup -> Develop -> Remote Access
Under this method, the callback URL will not be used.

2) Perform a POST request
To get the authentication token:

3) Parse return JSON and get access_token


4) Perform a GET request,BillingPostalCode

User-Agent: Fiddler
Authorization: OAuth  access_token


  1. Salesforce is the best company that offers the efficient CRM service to the every entrepreneur in this world. Thanks for your content too. I would like to come back to this blog again in future.

    Salesforce Training in Chennai | Salesforce course in chennai

  2. Cloud computing is a technology in which the future Information technology is going to rely on for their entire process. This is a technology that is not going to disappear just like that or the craze for this will also never reduce(). Your worth able content is also insisting the same. Thanks for sharing this in here.

    cloud computing training in chennai | cloud computing training