【发布时间】:2013-08-30 03:37:38
【问题描述】:
我一直在学习来自http://wiki.developerforce.com/page/Accessing_Salesforce_Data_From_Ruby的教程
但是,我无法解决您需要提供密钥的部分:
host: login.salesforce.com # Use test.salesforce.com for sandbox
client_secret: 1234567890 # This is the Consumer Secret from Salesforce
client_id: somebigidthinghere # This is the Consumer Key from Salesforce
sobject_module: SFDC_Models # See below for details on using modules
debugging: true # Can be useful while developing
username: me@mycompany.com
password: mypasswordplusmysecuritytoken
在哪里可以获得client_secret 和client_id。 Salesforce 官方 API 网站上的教程有点过时了。 http://www.salesforce.com/us/developer/docs/api_rest/index.htm
而其他一些教程甚至没有提到从哪里获得它。
我已经在http://developer.force.com/创建了一个帐户
甚至创建了一个自定义应用程序,如果我错了,请纠正我。
然后不知道在哪里可以找到我需要的钥匙。
我们将不胜感激任何解决方法。
【问题讨论】:
-
在这里查看我的详细帖子stackoverflow.com/questions/12794302/…
标签: ruby-on-rails salesforce databasedotcom-gem