Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Rails and JQuery Mobile app using the Chatter REST API
JavaScript Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor/plugins
.DS_Store
.gitignore
Gemfile
Gemfile.lock
README
Rakefile
config.ru

README

Rail 3 + JQuerymobile app using the Chatter REST API

This sample app uses the Chatter REST API
to implement a Chatter client in Rails3. In addition, it 
uses jquerymobile to make this app accessible on just about any
mobile device.

Setup:

The app uses Omniauth for OAuth2 authentication. You will need to change
the consumer key and consumer secret which the forcedotcom strategy uses
to authorize against a Force.com remote access provider. Settings are
contained within config/initializers/omniauth.rb

You will also need to change the site url in lib/forcedotcom.rb. Right
now it points to a pre-release org which has the Chatter REST API enabled.

Yes I know I need to move these into env settings. I'll get around to it soon :)

Finally, as the remote access provider requires a https callback url, you
need to create your certs and keys for your local web server. I have already
set up the rails web server (WEBrick) with all the script changes. As long
as you drop your keys and certs into the lib/certs dir you should be good to go


Using the app:

Once you have everything up and running on your local machine, navigate to 
the default url (https://localhost:3000/) and you should be all good to go!


Have fun
@quintonwall


Something went wrong with that request. Please try again.