# Check out http://oauth.twoalex.com/ to easily generate tokens, cookies, etc. # Those values will work with the default settings in this yaml. # Of course, you can change this to work with your own app. # Just remember to update all fields! # You must supply this value yourself to test the GraphAPI class. # Your OAuth token should have publish_stream and read_stream permissions. oauth_token: 119908831367602|2.r_nk_Ghvmy2OVfCqc2xD5w__.3600.1275534000-2905623|uRgZZ9WrZL7sBmS2f02G7UpMFZg. # for testing the OAuth class # baseline app oauth_test_data: # You must supply this value yourself, since they will expire. code: 2.r_nk_Ghvmy2OVfCqc2xD5w__.3600.1275534000-2905623|4nUNPLdAgG0Q7PauPJ00TffIB88. # easiest way to get session keys: use multiple test accounts with the Javascript login at http://oauth.twoalex.com session_key: 2.r_nk_Ghvmy2OVfCqc2xD5w__.3600.1275534000-2905623 multiple_session_keys: - 2.r_nk_Ghvmy2OVfCqc2xD5w__.3600.1275534000-2905623 - 2.r_nk2_Ghvmy2OVfCqc2xD5w__.3600.1275534000-2905623 # These values will work out of the box app_id: 119908831367602 secret: e45e55a333eec232d4206d2703de1307 callback_url: http://oauth.twoalex.com/ app_access_token: 119908831367602|o3wswWQ88LYjEC9-ukR_gjRIOMw. raw_token_string: "access_token=119908831367602|2.6GneoQbnEqtSiPppZzDU4Q__.3600.1273366800-2905623|3OLa3w0x1K4C1S5cOgbs07TytAk.&expires=6621" raw_offline_access_token_string: access_token=119908831367602|2.6GneoQbnEqtSiPppZzDU4Q__.3600.1273366800-2905623|3OLa3w0x1K4C1S5cOgbs07TytAk. valid_cookies: # note: the tests stub the time class so these default cookies are always valid (if you're using the default app) # if not you may want to remove the stubbing to test expiration fbs_119908831367602: '"access_token=119908831367602|2.LKE7ksSPOx0V_8mHPr2NHQ__.3600.1273363200-2905623|CMpi0AYbn03Oukzv94AUha2qbO4.&expires=1273363200&secret=lT_9zm5r5IbJ6Aa5O54nFw__&session_key=2.LKE7ksSPOx0V_8mHPr2NHQ__.3600.1273363200-2905623&sig=9515e93113921f9476a4efbdd4a3c746&uid=2905623"' expired_cookies: fbs_119908831367602: '"access_token=119908831367602|2.xv9mi6QSOpr474s4n2X_pw__.3600.1273287600-2905623|yVt5WH_S6J5p3gFa5_5lBzckhws.&expires=1273287600&secret=V_E79ovQnXqxGctFuC_n5A__&session_key=2.xv9mi6QSOpr474s4n2X_pw__.3600.1273287600-2905623&sig=eeef60838c0c800258d89b7e6ddddddb&uid=2905623"' offline_access_cookies: # note: I've revoked the offline access for security reasons, so you can't make calls against this :) fbs_119908831367602: '"access_token=119908831367602|08170230801eb225068e7a70-2905623|Q3LDCYYF8CX9cstxnZLsxiR0nwg.&expires=0&secret=78abaee300b392e275072a9f2727d436&session_key=08170230801eb225068e7a70-2905623&sig=423b8aa4b6fa1f9a571955f8e929d567&uid=2905623"' subscription_test_data: subscription_path: http://oauth.twoalex.com/subscriptions verify_token: "myverificationtoken|1f54545d5f722733e17faae15377928f" challenge_data: "hub.challenge": "1290024882" "hub.verify_token": "myverificationtoken|1f54545d5f722733e17faae15377928f" "hub.mode": "subscribe"