Skip to content

Instantly share code, notes, and snippets.

@vadimdemedes
Created January 3, 2012 11:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vadimdemedes/1554554 to your computer and use it in GitHub Desktop.
Save vadimdemedes/1554554 to your computer and use it in GitHub Desktop.
# 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