Force.com-JavaScript-REST-Toolkit
Force.com-JavaScript-REST-Toolkit copied to clipboard
Need help connecting to org using phonegap example
As I'm trying at the moment, the forcetk constructor is being passed the consumer key as the clientid and I have the default callback url set (https://login.salesforce.com/services/oauth2/success) but I just can't seem to get a connection. I've also set https://na9.salesforce.com my instance as a remote site.
I've worked with the forcetk from inside the org through a vf page and it works awesome but I can't seem to get it going from outside. Any pointers I might have missed?