callbackurl - Creating an application that interacts with salesforce? -


i wanted insight on best practices salesforce application development. developing on premise windows service push data salesforce, using either rest or soap api (probably not relevant @ point). saying this, had few questions:

  1. i believe need create application (via remote access) generate consumer key , consumer secret allow me call salesforce api, accurate?
  2. if create application, requires callback url, this?
  3. is there other recommended way of doing this, if so, links or appreciated!

tia!

i got 2 applications both using rest approach. find salesforce documentation useful.

remote access

create consumer key, secret , set callback under setup -> app setup -> develop -> remote access

callback

the callback handling part of oauth protocol - find explanation here: oauth callback domains explained needs return valid page - security feature validating domain

more on oauth authorisation

see oauth quickstart

alternative: session id authorization soap

explained @ bottom of page oauth quickstart

using higher level libs

it worth investigating if chosen target environment has higher level library available covers of lower level aspects of communicating api. example using ruby gem on top of api - less work handling of api aspects.

also useful

salesforce apis – & when use them

soap

i got older application running on soap - require password , security token. no need create remote application if going use approach.

rest

does require oauth authentication "before making rest api calls, must authenticate user using oauth 2.0" ... hence need create remote application generate consumer key , secret

enjoy adventure salesforce api - eugen


Comments

  1. Keep sharing! I also follow some valuable tips from Accounting Software Singapore for and was hoping if they can be a good read for you too.

    ReplyDelete

Post a Comment

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -