Skip to content

Adding your favorite service to Diaspora

copyninja edited this page Mar 28, 2011 · 4 revisions
  1. Read the git workflow guide: https://github.com/diaspora/diaspora/wiki/Git-Workflow

  2. Add Friendster(your favorite service) support to omniauth: http://github.com/intridea/omniauth, if its not there already .

1.5) Add the example for the keys: http://github.com/diaspora/diaspora/blob/master/config/oauth_keys.yml.example and one line in the initializer: http://github.com/diaspora/diaspora/blob/master/config/initializers/omniauth.rb

  1. Test drive your stuff. Ex.: https://github.com/diaspora/diaspora/blob/master/spec/models/services/facebook_spec.rb Write another service model, telling the app the api call that needs to happen to post a message (and how to do a friend finder). Ex.: http://github.com/diaspora/diaspora/blob/master/app/models/services/facebook.rb

  2. Find the media service icon here: "Social Media Icons are by Paul Robert Lloyd" http://paulrobertlloyd.com/2009/06/social_media_icons add it to the appropriate public folder and name it the name of the provider

  3. Add the line that lets users add your service: http://github.com/diaspora/diaspora/blob/master/app/views/services/index.html.haml

  4. Submit a pull request.

  5. Go throw a party to celebrate your awesomeness!

Clone this wiki locally