we're currently working on the post mortem for the recent facebook incident. for this we need to determine which users have facebook connected. is there an elegant way to query this? or do you have a script handy that calls the api or uses the cli do achieve this?