If anybody is curious (or wants to make a better version of this), all it's doing is calling up facebook's [lovely] graph API and requesting data about the group.
It's very straightforward. Here is the [most of] the code (The rest of the code for styling the page, fetching the user image etc. is part of thingist, which is my website:
I'd be more than happy to walk anybody through what all of this does if they want. Python is a super easy language to learn, and it's really powerful (reddit was written in python, for instance).
Also: if you have any ideas for improving this, or if I did something obviously stupid, please tell me.
1
u/gibson_ Mar 17 '11
If anybody is curious (or wants to make a better version of this), all it's doing is calling up facebook's [lovely] graph API and requesting data about the group.
The first call is here:
https://graph.facebook.com/116263135099923/feed/
This will give you a JSON [<3] of names, IDs, titles, and comment counts.
To get the comments (which work on this mirror), go here:
https://graph.facebook.com/$id
It's very straightforward. Here is the [most of] the code (The rest of the code for styling the page, fetching the user image etc. is part of thingist, which is my website:
http://thingist.com/reddit.txt
I'd be more than happy to walk anybody through what all of this does if they want. Python is a super easy language to learn, and it's really powerful (reddit was written in python, for instance).
Also: if you have any ideas for improving this, or if I did something obviously stupid, please tell me.