We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a845a2 commit 16c8169Copy full SHA for 16c8169
lib/tasks/oauth.rake
@@ -0,0 +1,6 @@
1
+namespace :oauth do
2
+ desc 'Facebookのaccess tokenを取得します'
3
+ task :facebook_access_token, [:app_id, :app_secret] => :environment do |_tasks, args|
4
+ puts 'Access Token: ' + Koala::Facebook::OAuth.new(args[:app_id], args[:app_secret]).get_app_access_token
5
+ end
6
+end
0 commit comments