jmg/pyfb — pull request #11 by CircleUp (2012-12-12 00:25:24+00:00)
Title: Support for exchange of short-lived access token for long-lived access token

Hi there,

I added a function to support this flow:

https://developers.facebook.com/docs/howtos/login/extending-tokens/

I named it "exchange_token"... not sure if that's best. Also, I needed the expiration time, so I returned that as well, so that's not consistent with get_access_token() (which discards the expiration value now).