pythonforfacebook/facebook-sdk — pull request #7 by ex-nerd (2011-12-08 21:38:18+00:00)
Title: Graph API sometimes returns a plain bool

So check the response type before assuming it's a dict