Been away from the dragonfly community for a little while, but last night I decided to have a play around with the facebook API, and dragonfly was what I picked to test it with.
So, continuing my tradition of uploading anything I do, here are the files attached.
This is very much a test, so do not use these files unless you know what you are doing.
The cpg_member has been modified - but was modified from the version of dragonfly that I had, which is 9.061 (or whatever it was before 9.1 came out).
So you will need to check that first of all.
Next, you will need to add your facebook keys into the modules/Facebook file: facebook_conf.php
And finally, change the groupid at the top of index.php to whichever group you want to see a rough overview of.
Finally, you need to add a user_facebook_id field as a custom user field. This should be your users facebook id.
What the module does:
Visiting yoursite.com/Facebook.html will log you on to your site using your facebook credentials if you have a facebook id in your profile. If you don't have a profile on your site, but a user does have a facebook profile, then a user will automatically be created for them on your site and they will be signed in automatically using that user.
Finally a very bried overview of a chosen group is shown on the module page itself.
This was merely a proof of concept. I expect I will do more soon, but no promises. I post it here to hopefully encourage others to have a go at playing with it too.
I guess, if you were to call this module anything, it would be a "Facebook SSO for your dragonfly site".
You are not allowed to view/download this attachment
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):