facebook/python-sdk — pull request #65 by ex-nerd (2011-10-20 22:16:18+00:00)
Title: Get access token by AppID/Secret

There isn't currently an easy way to use this library to get a token for an app with its ID/secret pair. Adding this also turned up a bug that results in an uncaught exception when the Graph API returns False for items that the token does not have permission to view.