This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
STEPS | |
1. go to this link https://www.facebook.com/dialog/oauth?client_id=464891386855067&redirect_uri=https://www.facebook.com/connect/login_success.html&scope=basic_info,email,public_profile,user_about_me,user_activities,user_birthday,user_education_history,user_friends,user_interests,user_likes,user_location,user_photos,user_relationship_details&response_type=token | |
2. AS SOON as the link loads, copy it, otherwise if you wait even one second too long, it will change because of facebooks security. | |
3. copy the token off the link, should be a pretty long string. | |
a. like this 'CAAGm0PX4ZCpsBABSh7cXCD8FC7jqhagPRBdwGZC8fLMmZCeY1dgjZBXCORBQoUN7koqGjQl3oDRZCaoZBc6FmwMBbs03p0SIL6dRW9ZCgzYGZC1qfd50vtqvzzxK3D9jMn1nkizgjMPStZAjxjxxOUNzwUYjg74Jv5QKiTEeIKsfMDvt6uOZAKsXGAGkzoBVal2ZBGhHNPZCHitJTVUNfFsZCZCQxmZBoZANH4IvYGppr0JkHCGBHgZDZD', | |
4. copy that into the o_token variable | |
5. Go to your Facebook profile, and copy the name you made or profile id, and copy that into the fb_id variable. | |
6. make a new folder somewhere | |
7. c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
slack.rb is located here /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/knife-spork-1.4.2/lib/knife-spork/plugins/slack.rb | |
Your spork-config.yml should have this under plugins: | |
slack: | |
webhook_url: "https://hooks.slack.com/services/AAAA" | |
channel: "#devops" | |
teamname: teamname | |
username: knife | |
icon_url: http://2eof2j3oc7is20vt9q3g7tlo5xe.wpengine.netdna-cdn.com/wp-content/uploads/2013/12/chef-logo-370x275.jpg |
NewerOlder