我一直在遵循以下教程: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/中创建了一个帐户
甚至创建了一个自定义应用程序,如果我错了请纠正我。
却不知道去哪找我需要的钥匙。
如有任何变通办法,我们将不胜感激。
2条答案
按热度按时间4ioopgfo1#
当您登录www.example.com时developer.force.com,在左侧导航栏中
页面底部有“连接的应用程序”。点击“新建”添加你创建的应用程序。你将设置你的回调URL,描述等。一旦你点击保存你会看到你的消费者ID和秘密。
hmtdttj42#
自回答此问题后,salesforce管理面板的结构略有变化。下面是您现在如何访问trh回答中提到的屏幕: