I'm trying to implement a feature into a rails app where a user can enter a "referral id" (a custom field in salesforce) and the app will retrieve the status of their referral. I've been trying to set up the REST API Oauth2 authentication for it but I can't figure out how to run my query against salesforce.

有帮助吗?

解决方案

I would recommend restforce for querying a Salesforce API. It's simple to setup and provides OAuth token authentication.

https://github.com/ejholmes/restforce

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top