Titanium ACS API from PhoneGap Application (only index.html)
-
First Login to Titanium Colud and Create ACS app
-
Copy Oauth Consumer key and Secret Key or App Key
-
Make Sure your added cocoafish js file. http://sdk.cocoafish.com/js/cocoafish-1.2.min.js . In my application I used jQuery mobile.
-
Then Start code Set data and call
sdk.sendRequest(ACTION, METHOD, DATA, CALLBACK_FUNCTION); sdk.sendRequest('users/create.json', 'POST', data, callback); //e.g.
-
You can also manage users in ACS web dashboard.
Check more details here
http://shareourideas.com/2012/07/04/titanium-acs-api-in-phonegap/