function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aditya MohanAditya Mohan 

Display Salesforce Data on a Website

How to display Salesforce data like a list of leads or any records on my Website page?

I guess we need to use REST API to do that rt..

pconpcon
You can do this lots of different ways.  If you are using a nodejs application, you can use something like jsforce [1], if you are using an angular application you can use ngforce [2], if you are using php you can use the php toolkit [3], if you are using perl you can use WWW:Salesforce [4].  Depending on what technology you are planning on using there's probably a solution out there that is better than using the REST endpoint directly.

A word of caution however, becareful that whatever you are doing with the data and displaying it on your webpage does not violate the Terms of Service (ToS) that are set forth by Salesforce

[1] https://jsforce.github.io/
[2] https://github.com/noeticpenguin/ngForce
[3] https://developer.salesforce.com/page/PHP_Toolkit
[4] http://search.cpan.org/~phred/WWW-Salesforce-0.22/lib/WWW/Salesforce.pm