mozilla/openbadges — pull request #563 by davelester (2013-03-01 08:47:18+00:00)
Title: add Facebook library for display integration

I initially used Facebook's Javascript SDK to publish badges for #547, but found that more-advanced calls like extending a user access token (where an app's secret key must be passed) aren't supported. There are a few node libraries out there, but they focus on specific APIs Facebook offers and are incomplete. For lack of a better option, I have a custom script to potentially add to the /lib folder to handle the following:

1. publish opengraph objects
2. check permissions of an application
3. extend client-side User Access Tokens