Created
January 3, 2012 11:26
-
-
Save vadimdemedes/1554554 to your computer and use it in GitHub Desktop.
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
# Declaration | |
findFBUser: (fbMetadata, callback) -> | |
users = redback.createHash "facebook_uids" | |
users.get fbMetadata.uid, (err, reply) -> | |
callback reply | |
# Usage | |
SomeObj.findFBUser obj, (reply) -> | |
# reply is your result! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment