I didn't expect my “proof-of-concept [1]” to take as long to integrate into mod_blog [2] as it did, and I do apologize to my friends on MyFaceSpaceBook [3] who got spammed earlier today with, frankly, bizarre posts as I attempted to debug the new code. It's working, but there's still a worrying memory overwrite buried deep in the code that I've yet to fully squash (“fixing” a bug by reordering function calls is not a fix, but a temporary workaround).
But I have accomplished my goal of updating MyFaceSpaceBook automatically. It involved:
The first three steps took several hours on the development site [8] (which is horribly organized by the way—it's taken about an hour just to find the pages again for this post) and the last two took a couple of hours today to properly add the code (to add configuration options, pass in the actual status text, the final 10% of the code that tends to take 90% to finish).
And with luck, this will post properly.
I can only hope.
[2] https://boston.conman.org/about/
[4] http://developers.facebook.com/docs/authentication/javascript
[5] http://developers.facebook.com/docs/authentication/#requesting-extended-permissions
[6] http://developers.facebook.com/docs/authentication/#authenticating-as-an-application
[7] http://developers.facebook.com/docs/reference/api/status