xir*_*epe 11 ruby-on-rails salesforce databasedotcom-gem
我一直在关注以下教程: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
Run Code Online (Sandbox Code Playgroud)
我在哪里可以得到client_secret和client_id.来自Salesforce官方API站点的教程有点过时了.http://www.salesforce.com/us/developer/docs/api_rest/index.htm
而其他一些教程甚至没有提到从哪里获得它.
我已经在http://developer.force.com/创建了一个帐户
甚至创建了一个自定义应用程序,如果我错了,请纠正我.
然后不知道在哪里找到我需要的钥匙.
任何变通办法将不胜感激.
trh*_*trh 24
登录developer.force.com时,在左侧导航栏中
Build ->
Create ->
Apps
Run Code Online (Sandbox Code Playgroud)
该页面的底部有"已连接的应用".单击"新建"以添加您创建的应用程序.您将设置回调URL,描述等.一旦点击保存,您将看到您的消费者ID和秘密.
自问题得到解答以来,salesforce管理面板的结构略有变化.以下是您现在如何通过trh访问答案中提到的屏幕:

| 归档时间: |
|
| 查看次数: |
15370 次 |
| 最近记录: |