我一直在关注以下教程: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
and client_id
。Salesforce 官方 API 网站上的教程有点过时了。http://www.salesforce.com/us/developer/docs/api_rest/index.htm
而其他一些教程甚至没有提到从哪里得到它。
我已经在http://developer.force.com/创建了一个帐户
甚至创建了一个自定义应用程序,如果我错了,请纠正我。
然后不知道在哪里可以找到我需要的钥匙。
任何解决方法将不胜感激。