How to use
In your index.js file, inside the scope of the 'app' object, make the following changes :
consumerKey : 'your consumer key', consumerSecret : 'your consumer secret',
Run the app and go through the OAuth flow.
See the logs for the results of the API calls.
- We are using jsOAuth for OAuth which can be found here.
- You can use the HTML/js code on any other platform supported by PhoneGap.
- Make sure you hide your consumer secret.
- This example requires the latest version of XCode.
- Most of the relevant code lives in www/js/index.js.