This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>AS3 Rest Proof</title> | |
| <script src='http://code.jquery.com/jquery-1.9.1.min.js'></script> | |
| <script> | |
| var as3_path = 'http://restproof.s3.amazonaws.com/' | |
| $(function(){ | |
| $.ajax({ |
This file contains hidden or 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
| request = require 'request' | |
| facebook = require 'fb' | |
| get_fb_data = (req, res, next) -> | |
| fb_req = 'https://graph.facebook.com/oauth/access_token?client_id=APP_ID&client_secret=APP_SECCRET&grant_type=client_credentials' | |
| request.get fb_req, (err, res, body) -> | |
| if err then console.log err |
NewerOlder