# 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, read_stream, and user_photos permissions. oauth_token: 119908831367602|2.SzVOt20se6d7VnLzsG3USg__.3600.1302102000-2905623|Qxhc8NPxIQFKuNOaL1XdYNcztAM # for testing the OAuth class # baseline app oauth_test_data: # You must supply this value yourself, since they will expire. code: 2.SzVOt20se6d7VnLzsG3USg__.3600.1302102000-2905623|Z5x3PcJgROjfj6DOwVQpb714nkQ # easiest way to get session keys: use multiple test accounts with the Javascript login at http://oauth.twoalex.com session_key: 2.SzVOt20se6d7VnLzsG3USg__.3600.1302102000-2905623 multiple_session_keys: - 2.SzVOt20se6d7VnLzsG3USg__.3600.1302102000-2905623 - 2.SzVOt20se6d7VnLzsG3USg__.3600.1302102000-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"' # These values from the OAuth Playground (see above) will work out of the box # You can update this to live data if desired # request_secret is optional and will fall back to the secret above if absent signed_params: "zWRm0gd5oHW_jzXP_WA9CirO7c5CLHotn-SKRqH2NmU.eyJhbGdvcml0aG0iOiJITUFDLVNIQTI1NiIsImV4cGlyZXMiOjEzMDE5MjIwMDAsImlzc3VlZF9hdCI6MTMwMTkxNzI5OSwib2F1dGhfdG9rZW4iOiIxMTk5MDg4MzEzNjc2MDJ8Mi56VkZfNk5yTUVMSHVKYTRnSVU5dEt3X18uMzYwMC4xMzAxOTIyMDAwLTI5MDU2MjN8emdxUHNyMkJHOUxvT0s5a2VrR2dSVVJaeDBrIiwidXNlciI6eyJjb3VudHJ5IjoiZGUiLCJsb2NhbGUiOiJkZV9ERSIsImFnZSI6eyJtaW4iOjIxfX0sInVzZXJfaWQiOiIyOTA1NjIzIn0" signed_params_result: expires: 1301922000 algorithm: HMAC-SHA256 user_id: "2905623" oauth_token: 119908831367602|2.zVF_6NrMELHuJa4gIU9tKw__.3600.1301922000-2905623|zgqPsr2BG9LoOK9kekGgRURZx0k user: country: de locale: de_DE age: min: 21 issued_at: 1301917299 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"