Setup doorkeeper

gem 'doorkeeper'
bundle install
rails generate doorkeeper:install
```config/initializers/doorkeeper.rb
  resource_owner_authenticator do
    current_user || redirect_to(user_omniauth_authorize_url(:twitter))
  end
```
rails generate doorkeeper:migration
rake db:migrate
applicationはユーザーに紐づくように変更

rails generate doorkeeper:application_owner
rake db:migrate
APIを作成
api用のviewはjquery-mobileにしてみた
Merge pull request #58 from daitokai/doorkeeper

APIを作成